W3cubDocs

/Haxe JavaScript

CSSMediaRule

package js.html

extends CSSConditionRuleCSSGroupingRuleCSSRule

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:

Variables

read onlymedia:MediaList

Specifies a MediaList representing the intended destination medium for style information.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/CSSMediaRule.html