Created
November 19, 2014 20:36
-
-
Save nlebert-linux/cac7bed1e0157a6cf293 to your computer and use it in GitHub Desktop.
Firefox Inline-Block Fix
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
#testimonials-wrapper { | |
margin: 0 -5px; | |
column-count: 4; | |
column-gap: 0; | |
column-fill: auto; | |
-webkit-column-count: 4; | |
-webkit-column-gap: 0; | |
-webkit-column-fill: auto; | |
-moz-column-count: 4; | |
-moz-column-gap: 0; | |
/* -moz-column-fill: auto; <---- This kills the -moz-inline-stack; */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Trying to do a Pinterest-like layout for your website, but FF doesn't want to cooperate? add display: -moz-inline-stack; to your wrapper elements, and add the above to your wrapper. Remember to remove or don't add the -moz-column-fill: auto