Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
A poor man's flexbox
/* © */
#container {
text-align: justify;
font-size: 0.1px; /* IE 9 & 10 don't like font-size: 0; */
min-width: 600px;
#container div {
width: 150px;
height: 125px;
display: inline-block;
#container:after {
content: '';
width: 100%; /* Ensures there are at least 2 lines of text, so justification works */
display: inline-block;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.