aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/css/_doublecolon_-webkit-meter-suboptimum-value/index.html
blob: e9afba686fed8d2821c7498337ffbccb9a0cb594 (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
---
title: '::-webkit-meter-suboptimum-value'
slug: 'Web/CSS/::-webkit-meter-suboptimum-value'
tags:
  - CSS
  - No estándar(2)
  - Pseudo-elemento
  - Referencia
translation_of: 'Web/CSS/::-webkit-meter-suboptimum-value'
---
<p>{{CSSRef}}{{Non-standard_header}}</p>

<h2 id="Resumen"><strong>Resumen</strong></h2>

<p>El pseudo-elemento CSS <code>::-webkit-meter-suboptimum-value</code> da color amarillo al elemento meter cuando su valor cae fuera del rango mix-max.</p>

<h2 id="Especificaciones"><strong>Especificaciones</strong></h2>

<p>No es parte de ninguna especificación. Es un pseudo-elemento propietario y específico de WebKit/Blink.</p>

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

<pre class="brush: html">&lt;meter min="0" max="10" value="6"&gt;Puntuación sobre 10&lt;/meter&gt;</pre>

<pre class="brush: css">meter::-webkit-meter-suboptimum-value {
  background: -webkit-gradient linear, left top, left bottom,
  height: 100%;
  box-sizing: border-box;
}</pre>

<p>{{ EmbedLiveSample('Ejemplos', '100%', 50) }}</p>

<div class="note">
<p><strong>Notae</strong>: Sólo funciona en navegadores basados en Webkit/Blink</p>
</div>

<h2 id="Compatibilidad_con_los_distintos_navegadores">Compatibilidad con los distintos navegadores</h2>

{{Compat("css.selectors.-webkit-meter-suboptimum-value")}}

<h2 id="Ver_además">Ver además</h2>

<p>Los pseudo-elementos usados por WebKit/Blink para dar estilo a otras partes del elemento {{htmlelement("meter")}} :</p>

<ul>
 <li>{{cssxref("::-webkit-meter-inner-element")}}</li>
 <li>{{cssxref("::-webkit-meter-bar")}}</li>
 <li>{{cssxref("::-webkit-meter-even-less-good-value")}}</li>
 <li>{{cssxref("::-webkit-meter-optimum-value")}}</li>
</ul>