diff options
Diffstat (limited to 'files/es/web/api/cssrule/csstext/index.html')
-rw-r--r-- | files/es/web/api/cssrule/csstext/index.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/files/es/web/api/cssrule/csstext/index.html b/files/es/web/api/cssrule/csstext/index.html new file mode 100644 index 0000000000..4dd97fff2c --- /dev/null +++ b/files/es/web/api/cssrule/csstext/index.html @@ -0,0 +1,22 @@ +--- +title: CssRule.cssText +slug: Web/API/CSSRule/cssText +translation_of: Web/API/CSSRule/cssText +--- +<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>cssText</font></font></strong><font><font> returns the current text style rule.</font></font></p> +<h3 id="Syntax" name="Syntax"><font><font>Syntax</font></font></h3> +<pre class="eval"><em><font><font>string</font></font></em> = cssRule.cssText +</pre> +<h3 id="Example" name="Example"><font><font>Instance</font></font></h3> +<pre class="eval">if (myRule.cssText.indexOf ("background-color")! = -1) { + bgRule = MyRule; +} +... +</pre> +<h3 id="Specification" name="Specification"><font><font>Specification</font></font></h3> +<p><font><font>DOM Level 2 Style - cssRule</font></font></p> |