Last active
March 15, 2017 00:34
-
-
Save ckschmieder/a902af1c2afc01b26945f7d39f75ead5 to your computer and use it in GitHub Desktop.
Makes Polaroid products page grid responsive via flexbox
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
body.all-products #main-content .product-box { | |
-webkit-box-flex: 0; | |
-ms-flex: 0 0 auto; | |
flex: 0 0 auto; | |
margin: 0 5px 15px!important; | |
} | |
.category-feature { | |
width: 100%; | |
min-width: 445px; | |
max-width: 445px; | |
} | |
.category-feature.product-box.first {height: 316px!important;} | |
body.all-products #main-content { | |
margin: 135px auto 35px; | |
padding: 10px 0% 0; | |
display: -webkit-box; | |
display: -ms-flexbox; | |
display: flex; | |
-webkit-box-pack: center; | |
-ms-flex-pack: center; | |
justify-content: center; | |
-webkit-box-orient: horizontal; | |
-webkit-box-direction: normal; | |
-ms-flex-flow: row wrap; | |
flex-flow: row wrap; | |
overflow: hidden; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment