No estándar
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
Resumen
La propiedad CSS -webkit-text-stroke-color especifica el color del trazo de los caracteres de texto. Si no se fija se usa el valor de la propiedad color.
| Valor inicial | rgb(0, 0, 0) |
|---|---|
| Applies to | all elements |
| Heredable | yes |
| Media | visual |
| Valor calculado | como se especifica |
| Animatable | yes, as a color |
| Canonical order | el orden único no-ambigüo definido por la gramática formal |
Síntaxis
/* valores <color> */ -webkit-text-stroke-color: red; -webkit-text-stroke-color: #e08ab4; -webkit-text-stroke-color: rgb(200, 100, 0); /* Valores gloables */ -webkit-text-stroke-color: inherit; -webkit-text-stroke-color: initial; -webkit-text-stroke-color: unset;
Valores
<color>- El color del trazo.
Síntaxis Formal
<color>where
<color> = <rgb()> | <rgba()> | <hsl()> | <hsla()> | <hex-color> | <named-color> | currentcolor | <deprecated-system-color>where
<rgb()> = rgb( <rgb-component>#{3} )
<rgba()> = rgba( <rgb-component>#{3} , <alpha-value> )
<hsl()> = hsl( <hue>, <percentage>, <percentage> )
<hsla()> = hsla( <hue>, <percentage>, <percentage>, <alpha-value> )
<named-color> = <ident>
<deprecated-system-color> = ActiveBorder | ActiveCaption | AppWorkspace | Background | ButtonFace | ButtonHighlight | ButtonShadow | ButtonText | CaptionText | GrayText | Highlight | HighlightText | InactiveBorder | InactiveCaption | InactiveCaptionText | InfoBackground | InfoText | Menu | MenuText | Scrollbar | ThreeDDarkShadow | ThreeDFace | ThreeDHighlight | ThreeDLightShadow | ThreeDShadow | Window | WindowFrame | WindowTextwhere
<rgb-component> = <integer> | <percentage>
<alpha-value> = <number>
<hue> = <number>
Especificaciones
| Especificación | Estado | Comentario |
|---|---|---|
| Web Compatibility Standard The definition of '-webkit-text-stroke-color' in that specification. |
Living Standard | Estandarización Inicial |
| Referencia CSS de Safari CSS '-webkit-text-stroke-color' en ese documento. |
Documentación no estándar y no oficial. | Documentación Inicial |
No es parte de ninguna especificación.
Apple tiene una descripción de -webkit-text-stroke-color en la referencia CSS de Safari .
Compatibilidad con los distintos navegadores
| Característica | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Soporte básico | (Yes) | No support | No support | (Yes) | (Yes) |
| Característica | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|
| Soporte básico | ? | No support | No support | ? | ? |