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