Created
August 29, 2014 14:45
-
-
Save MathRivest/dc16c19000a0c35d2bb1 to your computer and use it in GitHub Desktop.
Distribute divs horizontally
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
.wrapper{ | |
text-align: justify; | |
text-justify: distribute-all-lines; | |
.item{ | |
display:inline-block; | |
} | |
&:after { | |
content: ""; | |
width: 100%; | |
display: inline-block; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment