View source
class CSSMediaRule
package js.html
extends CSSConditionRule › CSSGroupingRule › CSSRule
Available on js
The CSSMediaRule
is an interface representing a single CSS @media
rule. It implements the CSSConditionRule
interface, and therefore the CSSGroupingRule
and the CSSRule
interface with a type value of 4
(CSSRule.MEDIA_RULE
).
Documentation CSSMediaRule by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also: