Created
May 27, 2018 13:47
-
-
Save Pageboy/aa4865d7455d44a8ce222dfdac3cca7c to your computer and use it in GitHub Desktop.
style for gallery
This file contains 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
#gallery ul { | |
display:-webkit-box; | |
display:-ms-flexbox; | |
display:flex; | |
-webkit-box-orient: horizontal; | |
-webkit-box-direction: normal; | |
-ms-flex-flow: row wrap; | |
flex-flow:row wrap; | |
-ms-flex-pack: distribute; | |
justify-content: space-around; | |
} | |
#gallery li { | |
list-style-type: none; | |
padding: 8px; | |
margin-right:6px; | |
margin-bottom: 6px; | |
border:1px solid silver; | |
vertical-align: top; | |
-webkit-box-flex: 1; | |
-ms-flex: auto; | |
flex: auto; width: 200px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment