aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/svg/attribute/stop-color/index.html
blob: 199bf59b3b1fb2d382e4421b45ab20776e5b1a2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
title: stop-color
slug: Web/SVG/Attribute/stop-color
tags:
  - Atributos SVG
translation_of: Web/SVG/Attribute/stop-color
---
<p>« <a href="/en/SVG/Attribute" title="en/SVG/Attribute">SVG Attribute reference hom</a>e</p>

<p>El atributo <code>stop-color</code> indica que color usar en el stop del gradiente. La keyword <code>currentColor</code> y ICC  pueden ser especificadas de la misma manera con la especificación <a href="/en/SVG/Content_type#Paint" title="en/SVG/Content_type#Paint">&lt;paint&gt;</a> para los atributos {{ SVGAttr("fill") }}{{ SVGAttr("stroke") }}.</p>

<h2 id="Usage_context">Usage context</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="row">Categorías</th>
   <td>Presentation attribute</td>
  </tr>
  <tr>
   <th scope="row">Valor</th>
   <td>currentColor | <a href="/en/SVG/Content_type#Color" title="en/SVG/Content_type#Color">&lt;color&gt;</a> | <a href="/en/SVG/Content_type#ICCColor" title="en/SVG/Content_type#ICCColor">&lt;icccolor&gt;</a> | inherit</td>
  </tr>
  <tr>
   <th scope="row">Valor inicial</th>
   <td>negro</td>
  </tr>
  <tr>
   <th scope="row">Animatable</th>
   <td></td>
  </tr>
  <tr>
   <th scope="row">Documento normativo</th>
   <td><a class="external" href="http://www.w3.org/TR/SVG11/pservers.html#StopColorProperty">SVG 1.1 (2.ª edición)</a></td>
  </tr>
 </tbody>
</table>

<h2 id="Ejemplos">Ejemplos</h2>

<h2 id="Elementos">Elementos</h2>

<p>El siguiente elemento puede usar el atributo <code>stop-color</code></p>

<ul>
 <li>{{ SVGElement("stop") }}</li>
</ul>

<h2 id="Browser_Compatibility" name="Browser_Compatibility">Compatibilidad entre navegadores</h2>



<p>{{Compat("svg.attributes.presentation.stop-color")}}</p>

<h2 id="Ver_también">Ver también</h2>

<ul>
 <li>{{ SVGAttr("stop-opacity") }}</li>
</ul>