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/csstext | |
| 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/csstext')
| -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> |
