Skip to content

Instantly share code, notes, and snippets.

@rafszul
Last active November 2, 2017 11:07
Show Gist options
  • Save rafszul/26b45cff455c8fa8f597138ac7a496bc to your computer and use it in GitHub Desktop.
Save rafszul/26b45cff455c8fa8f597138ac7a496bc to your computer and use it in GitHub Desktop.
@namespace url(http://www.w3.org/1999/xhtml);
@namespace svg url(http://www.w3.org/2000/svg);
/* This matches all XHTML <a> elements, as XHTML is the default unprefixed namespace */
a {}
/* This matches all SVG <a> elements */
svg|a {}
/* This matches both XHTML and SVG <a> elements */
*|a {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment