Last active
December 28, 2019 17:58
-
-
Save VinnyFonseca/6163765 to your computer and use it in GitHub Desktop.
Email: Hide images in all desktop clients
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
table[class="mob-show"], | |
tr[class="mob-show"], | |
td[class="mob-show"], | |
span[class="mob-show"], | |
a[class="mob-show"], | |
img[class="mob-show"] { | |
display: none !important; | |
font-size: 0 !important; | |
width: 0 !important; | |
height: 0 !important; | |
max-height: 0 !important; | |
line-height: 0 !important; | |
padding: 0 !important; | |
visibility: hidden !important; | |
mso-hide: all !important; | |
} | |
@media (max-width: 480px) { | |
table[class="mob-hide"], | |
tr[class="mob-hide"], | |
td[class="mob-hide"], | |
span[class="mob-hide"], | |
a[class="mob-hide"], | |
img[class="mob-hide"] { display: none !important; } | |
table[class="mob-show"], | |
tr[class="mob-show"], | |
td[class="mob-show"], | |
span[class="mob-show"], | |
a[class="mob-show"], | |
img[class="mob-show"] { | |
display: block !important; | |
font-size: auto !important; | |
width: 100% !important; | |
height: auto !important; | |
max-height: 999px !important; | |
line-height: auto !important; | |
padding: 0 !important; | |
visibility: visible !important; | |
mso-hide: none !important; | |
} | |
} | |
class="mob-show" style="display: none; font-size: 0; width: 0; height: 0; max-height: 0; line-height: 0; padding: 0; visibility: hidden; mso-hide: all;" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment