Last active
February 15, 2017 08:47
-
-
Save justintemps/1b7767543052bb00b7540f55906adf5b to your computer and use it in GitHub Desktop.
Substitute for .hide-for-large using Foundation for Emails
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
/** | |
* ONLY MOBILE / NO MOBILE | |
*/ | |
/* .small-only shows for mobile, hides for desktop */ | |
table.container table.row .small-only { | |
display: none; | |
font-size: 0; | |
line-height: 0px; | |
max-height: 0px; | |
mso-hide: all; | |
overflow :hidden; | |
visibility: hidden; | |
} | |
/* .large-only shows for desktop, hides for mobile */ | |
@include mobile { | |
table.container table.row .small-only { | |
display: table !important; | |
font-size: 100% !important; | |
line-height: 100% !important; | |
overflow: visible !important; | |
visibility: visible !important; | |
} | |
.large-only { | |
display: none !important; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment