Created
May 30, 2025 16:28
-
-
Save odessy/3f522654ce0c01e9037c62daae5ff426 to your computer and use it in GitHub Desktop.
Product section form block order on mobile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media only screen and (max-width: 767px) { | |
.product__inner { | |
display: grid; | |
grid-template-areas: | |
"title" | |
"price" | |
"variants" | |
"quantity" | |
"remaining" | |
"buttons" | |
"description"; | |
} | |
.product__block__title{ | |
grid-area: title; | |
} | |
.product__block__price{ | |
grid-area: price; | |
} | |
.product__block__description{ | |
grid-area: description; | |
} | |
.product__block__variants{ | |
grid-area: variants; | |
} | |
.product__block__quantity{ | |
grid-area: quantity; | |
} | |
.product__block__remaining{ | |
grid-area: remaining; | |
} | |
.product__block__buttons{ | |
grid-area: buttons; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment