Web features explorer

@namespace

Widely available
Tags: api css Groups: CSS CSS > Selectors

The @namespace CSS rule sets a default namespace or namespace prefix. Namespace prefixes allow CSS selectors to distinguish elements with the same name but different document types, such as the HTML <a> element and the SVG <a> element. To learn more, see CSSNamespaceRule, CSSNamespaceRule: namespaceURI property, CSSNamespaceRule: prefix property, @namespace, Namespace separator at MDN.

Compatibility (view on caniuse.com)