November 2001
Intermediate to advanced
936 pages
68h 43m
English
CSSMediaRule — an @media rule in a CSS style sheet
DOM Level 2 CSS
CSSRule → CSSMediaRule
readonly
CSSRuleList
cssRules
An
array (technically, a CSSRuleList) of all the rules nested within
this @media rule block.
readonly
MediaList
media
The list of media types to which the nested rules apply.
deleteRule( )
Deletes the nested rule at the specified position.
insertRule( )
Inserts a new rule at the specified position within this
@media rule block.
This interface represents an @media rule, and all
of its nested rules, in a CSS style sheet. It defines methods that
allow you to insert and delete nested rules. Consult a CSS reference
for details.