Interface CSSMediaRule

All Superinterfaces:
CSSGroupingRule, org.w3c.dom.css.CSSMediaRule, CSSRule, org.w3c.dom.css.CSSRule
All Known Implementing Classes:
MediaRule

public interface CSSMediaRule extends CSSGroupingRule, org.w3c.dom.css.CSSMediaRule
A CSS @media rule.
  • Method Details

    • getMedia

      MediaQueryList getMedia()
      A list of media queries that apply to this rule.
      Specified by:
      getMedia in interface org.w3c.dom.css.CSSMediaRule