Last active
October 3, 2019 16:19
-
-
Save fivedoor-gists/fbe906413a9d90de7f1e6c00e758f9d0 to your computer and use it in GitHub Desktop.
email-target-outlook.com
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
<style> | |
/* OWA Outlook.com | |
================== */ | |
[owa] .foo { | |
} | |
</style> | |
<!-- Outlook.com and Office365 don’t support attribute selectors in CSS. | |
Both webmail apps remove the attribute from the selector, changing its meaning and initial intention. | |
For example, [owa] .foo selector has no effect on other email clients. | |
It will, however, be transformed to .foo, which Outlook.com and Office365 will be able to recognize, and so you’ll be able to target elements in your HTML code with the class “foo”. | |
--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment