MUSCLE CODER

Programmer's Blog

Add Rules to Stylesheets with JavaScript – David Walsh

styleSheets [0]); /* Returns: CSSStyleSheet cssRules: CSSRuleList disabled: false href: “http://davidwalsh.name/somesheet. css ” media: MediaList ownerNode: link ownerRule: null parentStyleSheet: null rules: CSSRuleList title: null type: “text/ css ” */ // Get the … Creating a New Stylesheet .

Visit link:
Add Rules to Stylesheets with JavaScript – David Walsh