Created
September 14, 2013 00:41
-
-
Save lunaroja/6557755 to your computer and use it in GitHub Desktop.
Foundation Visibility Classes
This file contains hidden or 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
#visibility-classes { | |
position: fixed; | |
display: block; | |
top: 0; | |
left: 0px; | |
color: #FFF; | |
z-index: 1000; | |
font-size: 10px; | |
span { | |
padding: 5px; | |
} | |
.show-for-small { | |
background-color: orange; | |
} | |
.show-for-medium { | |
background-color: red; | |
} | |
.show-for-large { | |
background-color: purple; | |
} | |
.show-for-xlarge { | |
background-color: blue; | |
} | |
} |
This file contains hidden or 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
<div id="visibility-classes"> | |
<span class="show-for-small">Small - 0px-640px</span> | |
<span class="show-for-medium">Medium 641px-1024px</span> | |
<span class="show-for-large">Large 1025px-1440px</span> | |
<span class="show-for-xlarge">Extra Large 1441px and Up</span> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment