aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/api/cssstylesheet/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/es/web/api/cssstylesheet/index.html')
-rw-r--r--files/es/web/api/cssstylesheet/index.html64
1 files changed, 64 insertions, 0 deletions
diff --git a/files/es/web/api/cssstylesheet/index.html b/files/es/web/api/cssstylesheet/index.html
new file mode 100644
index 0000000000..f9781136ae
--- /dev/null
+++ b/files/es/web/api/cssstylesheet/index.html
@@ -0,0 +1,64 @@
+---
+title: CSSStyleSheet
+slug: Web/API/CSSStyleSheet
+translation_of: Web/API/CSSStyleSheet
+---
+<p>{{ ApiRef() }}</p>
+<p> </p>
+<p>This section describes the <a class="external" href="http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet">CSSStyleSheet</a> object, which represents a single CSS stylesheet.</p>
+<p>A CSS stylesheet consists of CSS rules, each of them can be manipulated through its <a href="/en/DOM/cssRule" title="en/DOM/cssRule">CSSRule</a> object. The stylesheet object itself lets you examine and modify the stylesheet, including its list of rules.</p>
+<p>You can get the list of stylesheets for a given document using the <a href="/en/DOM/document.styleSheets" title="en/DOM/document.styleSheets">document.styleSheets</a> property.</p>
+<h3 id="Properties" name="Properties">Properties</h3>
+<dl>
+ <dt>
+ <a href="/en/DOM/stylesheet.cssRules" title="en/DOM/stylesheet.cssRules">stylesheet.cssRules</a></dt>
+ <dd>
+ Returns all of the CSS rules in the stylesheet as an array.</dd>
+ <dt>
+ <a href="/en/DOM/stylesheet.disabled" title="en/DOM/stylesheet.disabled">stylesheet.disabled</a></dt>
+ <dd>
+ This property indicates whether the current stylesheet has been applied or not.</dd>
+ <dt>
+ <a href="/en/DOM/stylesheet.href" title="en/DOM/stylesheet.href">stylesheet.href</a></dt>
+ <dd>
+ Returns the location of the stylesheet.</dd>
+ <dt>
+ <a href="/en/DOM/stylesheet.media" title="en/DOM/stylesheet.media">stylesheet.media</a></dt>
+ <dd>
+ Specifies the intended destination medium for style information.</dd>
+ <dt>
+ <a href="/en/DOM/stylesheet.ownerNode" title="en/DOM/stylesheet.ownerNode">stylesheet.ownerNode</a></dt>
+ <dd>
+ Returns the node that associates this style sheet with the document.</dd>
+ <dt>
+ <a href="/en/DOM/stylesheet.ownerRule" title="en/DOM/stylesheet.ownerRule">stylesheet.ownerRule</a></dt>
+ <dd>
+ If this style sheet comes from an @import rule, the ownerRule property will contain the CSSImportRule.</dd>
+ <dt>
+ <a href="/en/DOM/stylesheet.parentStyleSheet" title="en/DOM/stylesheet.parentStyleSheet">stylesheet.parentStyleSheet</a></dt>
+ <dd>
+ Returns the stylesheet that is including this one, if any.</dd>
+ <dt>
+ <a href="/en/DOM/stylesheet.title" title="en/DOM/stylesheet.title">stylesheet.title</a></dt>
+ <dd>
+ Returns the advisory title of the current style sheet.</dd>
+ <dt>
+ <a href="/en/DOM/stylesheet.type" title="en/DOM/stylesheet.type">stylesheet.type</a></dt>
+ <dd>
+ Specifies the style sheet language for this style sheet.</dd>
+</dl>
+<h3 id="Methods" name="Methods">Methods</h3>
+<dl>
+ <dt>
+ <a href="/en/DOM/stylesheet.deleteRule" title="en/DOM/stylesheet.deleteRule">stylesheet.deleteRule</a></dt>
+ <dd>
+ Deletes a rule from the stylesheet.</dd>
+ <dt>
+ <a href="/en/DOM/stylesheet.insertRule" title="en/DOM/stylesheet.insertRule">stylesheet.insertRule</a></dt>
+ <dd>
+ Inserts a new style rule into the current style sheet.</dd>
+</dl>
+<h3 id="Specification" name="Specification">Specification</h3>
+<p><a class="external" href="http://www.w3.org/TR/DOM-Level-2-Style/stylesheets.html#StyleSheets-StyleSheet">DOM Level 2 Style Sheets: StyleSheet</a></p>
+<p><a class="external" href="http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-CSSStyleSheet">DOM Level 2 CSS: CSSStyleSheet</a></p>
+<p>{{ languages( { "pl": "pl/DOM/stylesheet" } ) }}</p>