diff options
Diffstat (limited to 'files/es/web/api/cssstylesheet/deleterule/index.html')
-rw-r--r-- | files/es/web/api/cssstylesheet/deleterule/index.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/files/es/web/api/cssstylesheet/deleterule/index.html b/files/es/web/api/cssstylesheet/deleterule/index.html new file mode 100644 index 0000000000..f11a905d98 --- /dev/null +++ b/files/es/web/api/cssstylesheet/deleterule/index.html @@ -0,0 +1,21 @@ +--- +title: Stylesheet.deleteRule +slug: Web/API/CSSStyleSheet/deleteRule +translation_of: Web/API/CSSStyleSheet/deleteRule +--- +<p>{{ ApiRef() }}</p> +<h3 id="Summary" name="Summary">Resumen</h3> +<p>El método <strong>deleteRule</strong> elimina una regla de la hoja de estilos actual.</p> +<h3 id="Syntax" name="Syntax">Sintaxis</h3> +<pre class="eval">stylesheet.deleteRule(<em>index</em>) +</pre> +<h3 id="Parameters" name="Parameters">Parámetros</h3> +<ul> + <li><code>index</code> es un numero de tipo long, que indica la posición de la regla.</li> +</ul> +<h3 id="Example" name="Example">Ejemplo</h3> +<pre> myStyles.deleteRule(0); +</pre> +<h3 id="Specification" name="Specification">Especificación</h3> +<p><a class="external" href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/css.html#CSS-CSSStyleSheet-deleteRule">deleteRule </a></p> +<p>{{ languages( { "pl": "pl/DOM/stylesheet.deleteRule" } ) }}</p> |