style: bootstrap added
This commit is contained in:
@@ -1,7 +1,31 @@
|
||||
.piece {
|
||||
width: clamp(40px, 9cqh, 130px);
|
||||
height: clamp(40px, 9cqh, 130px);
|
||||
width: clamp(50px, 11cqh, 160px);
|
||||
height: clamp(50px, 11cqh, 160px);
|
||||
display: block;
|
||||
object-fit: contain;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Tablets and below - reduce piece size */
|
||||
@media (max-width: 991px) {
|
||||
.piece {
|
||||
width: clamp(40px, 9cqh, 130px);
|
||||
height: clamp(40px, 9cqh, 130px);
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile - smaller pieces */
|
||||
@media (max-width: 768px) {
|
||||
.piece {
|
||||
width: clamp(32px, 8cqh, 100px);
|
||||
height: clamp(32px, 8cqh, 100px);
|
||||
}
|
||||
}
|
||||
|
||||
/* Small phones - even smaller */
|
||||
@media (max-width: 480px) {
|
||||
.piece {
|
||||
width: clamp(24px, 6cqh, 75px);
|
||||
height: clamp(24px, 6cqh, 75px);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user