Esta traducción está incompleta. Por favor, ayuda a traducir este artículo del inglés.
Resumen
La pseudo-clase de CSS :root selecciona el elemento raíz de un documento. Aplicado a HTML, :root representa el elemento <html> y es idéntico al selector html, excepto que su nivel de especificidad es mayor
Especificaciones
| Especificación | Estatus | Comentario |
|---|---|---|
| Selectors Level 4 The definition of ':root' in that specification. |
Working Draft | Sin cambio |
| Selectors Level 3 The definition of ':root' in that specification. |
Recommendation | Definición inicial |
Compatibilidad entre navegadores
| Funcionalidad | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
|---|---|---|---|---|---|
| Suporte básico | 1 | 1.0 (1.7 or earlier) | 9 | 9.5 | 1.0 |
| Funcionalidad | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|
| Soporte básico | ? | ? | ? | ? | ? |