diff options
| author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:41:45 -0500 |
|---|---|---|
| committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:41:45 -0500 |
| commit | 1109132f09d75da9a28b649c7677bb6ce07c40c0 (patch) | |
| tree | 0dd8b084480983cf9f9680e8aedb92782a921b13 /files/es/web/api/cssrule/parentstylesheet | |
| parent | 4b1a9203c547c019fc5398082ae19a3f3d4c3efe (diff) | |
| download | translated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.tar.gz translated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.tar.bz2 translated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.zip | |
initial commit
Diffstat (limited to 'files/es/web/api/cssrule/parentstylesheet')
| -rw-r--r-- | files/es/web/api/cssrule/parentstylesheet/index.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/files/es/web/api/cssrule/parentstylesheet/index.html b/files/es/web/api/cssrule/parentstylesheet/index.html new file mode 100644 index 0000000000..f66c603137 --- /dev/null +++ b/files/es/web/api/cssrule/parentstylesheet/index.html @@ -0,0 +1,27 @@ +--- +title: cssRule.parentStyleSheet +slug: Web/API/CSSRule/parentStyleSheet +translation_of: Web/API/CSSRule/parentStyleSheet +--- +<div> + {{APIRef}}</div> +<div> + </div> +<p><span style="font-size: 1.71428571428571rem; letter-spacing: -0.5px; line-height: 24px;">Summary</span></p> +<p><strong><font><font>parentStyleSheet</font></font></strong><font><font> returns the object type of style sheet, in which the rule is defined.</font></font></p> +<h3 id="Syntax" name="Syntax"><font><font>Syntax</font></font></h3> +<pre class="eval"><em><font><font>stylesheet</font></font></em> = cssRule.parentStyleSheet +</pre> +<h3 id="Parameters" name="Parameters"><font><font>Parameters</font></font></h3> +<ul> + <li><code><font><font>stylesheet</font></font></code><font><font> stylesheet is an object type.</font></font></li> +</ul> +<h3 id="Example" name="Example"><font><font>Instance</font></font></h3> +<pre class="eval">if (bgRule.parentStyleSheet! = MySheet) { + // Style alien rule! +} +</pre> +<h3 id="Notes" name="Notes"><font><font>Letters</font></font></h3> +<p><font><font>See </font></font><a href="/es/DOM/event#DOM_styleSheet_Object" title="en / DOM / event # DOM_styleSheet_Object"><font><font>Gecko DOM Reference: event # DOM_styleSheet_Object</font></font></a><font><font> for more information about the interface type objects stylesheet.</font></font></p> +<h3 id="Specification" name="Specification"><font><font>Specification</font></font></h3> +<p><font><font>DOM Level 2 Style - cssRule</font></font></p> |
