Make game responsive
This commit is contained in:
@@ -70,7 +70,14 @@
|
||||
|
||||
.game {
|
||||
width: 600px;
|
||||
height: 600px;
|
||||
aspect-ratio: 1/1;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.game {
|
||||
width: 80%;
|
||||
aspect-ratio: 1/1;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user