From 95aca4b4d8fa62815d4bd412fff1a364f842814a Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Thu, 29 Apr 2021 16:16:42 -0700 Subject: remove retired locales (#699) --- files/ca/web/css/_colon_root/index.html | 112 -------------------------------- 1 file changed, 112 deletions(-) delete mode 100644 files/ca/web/css/_colon_root/index.html (limited to 'files/ca/web/css/_colon_root/index.html') diff --git a/files/ca/web/css/_colon_root/index.html b/files/ca/web/css/_colon_root/index.html deleted file mode 100644 index b129c926f9..0000000000 --- a/files/ca/web/css/_colon_root/index.html +++ /dev/null @@ -1,112 +0,0 @@ ---- -title: ':root' -slug: 'Web/CSS/:root' -tags: - - CSS - - Layout - - NeedsMobileBrowserCompatibility - - Pseudo-class - - Reference - - Web -translation_of: 'Web/CSS/:root' ---- -
{{CSSRef}}
- -

La pseudo-class CSS :root coincideix amb l'element arrel de l'arbre que representa el document. En HTML, :root representa l'element {{HTMLElement("html")}} i és idèntic al selector html, excepte que la seva Especificitat és més alta.

- -
/*  Selecciona l'element arrel del document: <html> en el cas de l'HTML */
-:root {
-  background: yellow;
-}
- -

Sintaxi

- -{{csssyntax}} - -

Exemple

- -

El ùs de :root pot ser útil per declarar Variables CSS globals:

- -
:root {
-  --main-color: hotpink;
-  --pane-padding: 5px 42px;
-}
-
- -

Especificacions

- - - - - - - - - - - - - - - - - - - - - -
EspecificacióEstatComentari
{{SpecName('CSS4 Selectors', '#root-pseudo', ':root')}}{{Spec2('CSS4 Selectors')}}Sense canvis.
{{SpecName('CSS3 Selectors', '#root-pseudo', ':root')}}{{Spec2('CSS3 Selectors')}}Definició inicial.
- - - -

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - -
DescripcióChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
Suport bàsic1{{CompatVersionUnknown}}{{CompatGeckoDesktop("1.7")}}99.51.0
-
- -
- - - - - - - - - - - - - - - - - - - - - -
DescripcióAndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Suport bàsic{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
-- cgit v1.2.3-54-g00ecf