Skip to content

Instantly share code, notes, and snippets.

@madrobby
Created February 25, 2013 21:35
Show Gist options
  • Save madrobby/5033549 to your computer and use it in GitHub Desktop.
Save madrobby/5033549 to your computer and use it in GitHub Desktop.
/*
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