Last active
December 25, 2015 21:59
-
-
Save benlwilliams/7046883 to your computer and use it in GitHub Desktop.
Zero width columns for Zurb Foundation grid. Used instead of Foundation's visibility classes because they can force some display properties that are undesired on the hidden element. Also, just feels more natural.
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
.small-0 { display:none; } | |
@media #{$small} { | |
.medium-0 { display:none; } | |
[class*="medium-"]:not(.medium-0) { display:block; } // resets the .small-0 display property | |
} | |
@media #{$medium} { | |
.large-0 { display:none; } | |
[class*="large-"]:not(.large-0) { display:block; } // resets the .medium-0 display property | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment