Skip to content

Instantly share code, notes, and snippets.

@matori
Created November 29, 2012 01:50
Show Gist options
  • Save matori/4166245 to your computer and use it in GitHub Desktop.
Save matori/4166245 to your computer and use it in GitHub Desktop.
[Modernizr] CSS text-emphasis
/* css @supports example */
@supports (text-emphasis: filled circle) or
(-webkit-text-emphasis: filled circle) or
(-moz-text-emphasis: filled circle) or
(-ms-text-emphasis: filled circle) or
(-o-text-emphasis: filled circle) {
/* code */
}
Modernizr.addTest('csstextemphasis', function () {
return Modernizr.testAllProps('textEmphasis');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment