package js.html
extends CSSRule
Available on jsThe
CSSMediaRule
is an interface representing a single CSS@media
rule. It implements theCSSConditionRule
interface, and therefore theCSSGroupingRule
and theCSSRule
interface with a type value of4
(CSSRule.MEDIA_RULE
).Documentation CSSMediaRule by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
read only cssRules:CSSRuleList
read only media:MediaList
Specifies a MediaList
representing the intended destination medium for style information.
deleteRule (index:Int):Void
insertRule (rule:String, index:Int):Int
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/CSSMediaRule.html