Version 2
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
.button-grid {
|
||||
display: grid;
|
||||
display: grid;
|
||||
grid-template-columns: 2fr 0.1fr 2fr;
|
||||
grid-template-rows: calc(11vw * var(--sizeButton)) calc(11vw * var(--sizeButton)) calc(11vw * var(--sizeButton));
|
||||
grid-gap: calc(2vw * var(--sizeButton));
|
||||
grid-template-columns: 4fr 4fr 4fr;
|
||||
grid-template-rows: 4fr 4fr;
|
||||
grid-gap: 4fr;
|
||||
}
|
||||
|
||||
.image-button {
|
||||
@@ -35,10 +35,4 @@
|
||||
|
||||
:root {
|
||||
--sizeButton: 1;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 980px) {
|
||||
:root {
|
||||
--sizeButton: 2;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user