-
-
Save ggamel/5033597 to your computer and use it in GitHub Desktop.
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
/* | |
Older email clients and (some) webmail clients (Gmail!) will apply | |
this rule. Some clients (like older Lotus Notes) don't | |
support background-color on links, so I didn't want white | |
links on a white background. | |
*/ | |
a.button { | |
background-color: #FFFFFF; | |
color: #d9286b; | |
} | |
/* | |
Target email clients that support CSS3! | |
Includes Apple Mail, Mac Outlook, Thunderbird, plus | |
iOS, Android and Windows Phone native email clients. | |
*/ | |
a.button:nth-of-type(1n) { | |
background-color: #cf1c5a; | |
color: #ffffff; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment