From 1109132f09d75da9a28b649c7677bb6ce07c40c0 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:41:45 -0500 Subject: initial commit --- files/es/web/css/text-emphasis-color/index.html | 103 ++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 files/es/web/css/text-emphasis-color/index.html (limited to 'files/es/web/css/text-emphasis-color') diff --git a/files/es/web/css/text-emphasis-color/index.html b/files/es/web/css/text-emphasis-color/index.html new file mode 100644 index 0000000000..10c814748e --- /dev/null +++ b/files/es/web/css/text-emphasis-color/index.html @@ -0,0 +1,103 @@ +--- +title: text-emphasis-color +slug: Web/CSS/text-emphasis-color +tags: + - CSS + - Colores HTML + - Decoración de Texto CSS + - Estilizando HTML + - Estilos CSS + - Propiedad CSS + - Referencia + - text-decoration-color + - Énfasis de Texto +translation_of: Web/CSS/text-emphasis-color +--- +
{{CSSRef}}
+ +

La propiedad CSS text-emphasis-color (que podría traducirse como color del texto con énfasis) define el color de las marcas de énfasis. Este valor también puede definirse usando el atajo {{cssxref("text-emphasis")}}

+ +
/* Valor inicial*/
+text-emphasis-color: currentColor;
+
+/* <color>  */
+text-emphasis-color: #555;
+text-emphasis-color: blue;
+text-emphasis-color: rgba(90, 200, 160, 0.8);
+text-emphasis-color: transparent;
+
+/* Valores globales */
+text-emphasis-color: inherit;
+text-emphasis-color: initial;
+text-emphasis-color: unset;
+
+ +

{{cssinfo}}

+ +

Sintáxis

+ +

Valores

+ +
+
<color>
+
Define el color de las marcas de énfasis. Si ningún color es declarado, el color por defecto es currentColor (color actual).
+
+ +

Sintáxis Formal

+ +
{{csssyntax}}
+
+ +

Ejemplos

+ +

CSS

+ +
h3 {
+  text-emphasis-color: #555;
+  text-emphasis-style: "*";
+}
+ +

HTML

+ +
<p>Este es un ejemplo:</p>
+
+<h3>Esto está marcado con énfasis!</h3>
+
+ +

Resultado

+ +

{{EmbedLiveSample("Examples", 450, 100)}}Ejemplo incrustado en vivo

+ +

Especificaciones

+ + + + + + + + + + + + + + + + +
EspecificacionesEstadoComentario
{{SpecName('CSS3 Text Decoration', '#text-emphasis-color-property', 'text-emphasis')}}{{Spec2('CSS3 Text Decoration')}}Initial definition
+ +

Compatibilidad de Navegadores

+ + + +

{{Compat("css.properties.text-emphasis-color")}}

+ +

Ver También

+ + -- cgit v1.2.3-54-g00ecf