--- title: CSS3 slug: Archive/CSS3 translation_of: Archive/CSS3 ---
CSS3 es la última evolución del lenguaje de las Hojas de Estilo en Cascada (Cascading Style Sheets), y pretende ampliar la versión CSS2.1. Trae consigo muchas novedades altamente esperadas , como las esquinas redondeadas, sombras, gradientes , transiciones o animaciones, y nuevos layouts como multi-columnas, cajas flexibles o maquetas de diseño en cuadrícula (grid layouts).
Las partes experimentales son particulares para cada navegador y deberían ser evitadas en entornos de producción, o usadas con extrema precaución, ya que tanto la sintaxis como la semántica pueden cambiar en el futuro.
El Nivel 2 de CSS necesitó 9 años, desde Agosto de 2002 hasta Junio de 2011, para alcanzar el estado de Recomendación. Esto fué debido al hecho de que algunas características secundarias fueron retiradas de las especificaciones globales, con el fin de acelerar la normalización de las características no problemáticas, el Grupo de Trabajo CSS de la W3C, en una decisión referida como la doctrina Beijing dividió CSS en componentes más pequeños llamados módulos cada uno de estos módulos es ahora una parte independiente del lenguaje y se dirije a la estandarización a su propio ritmo mientras algunos módulos son ya recomendados de la W3C, otros todavía son borradores iniciales tambíen se añaden nuevos módulos cuando se identifican nuevas necesidades.
Formalmente, no existe un estandar de CSS3 por sí solo cada módulo es estandarizado independientemente, por lo que el estandar CSS consiste en CSS2.1 modificado y extendido por módulos terminados, no necesariamente todos con el mismo nivel numérico por tanto, puede ser definido un panorama del CSS estandar listando (enumerando) CSS2.1 y los módulos maduros.
El consorcio W3 publica periodicamente ciertos snapshots(imágenes), como en 2007 o 2010.
Aunque hoy en día ningún módulo con nivel mayor al 3 es estandarizado, esto cambiará en el futuro. Algunos módulos, como Selectors 4 o CSS Borders y Backgrounds nivel 4 tienen ya un borrador de edición pese a que aún no tienen un estatus de primer borrador de trabajo.
Unos pocos módulos CSS son lo suficientemente estables y han alcanzado uno de los tres niveles de recomendación de CSSWG: Candidato (Candidate), Recomendación (Recommendation), Recomendación propuesta o Recomendación (Proposed Recommendation or Recommendation). Estos puden ser usados sin un prefijo y son muy estables aunque algunas características aun pueden ser eliminadas de la etapa de Candidate Recommendation.
Estos módulos extienden y mejoran la especificación CSS2.1 la cual construye el núcleo de la especificación. Juntos, son el snapshot actual de la especificación CSS.
{{ SpecName("CSS3 Colors", "", "") }} | {{ Spec2("CSS3 Colors") }} desde el 7 de Junio de 2011 |
Agrega la propiedad {{ cssxref("opacity") }} y las funciones Ahora el color transparente es un color real (gracias al soporte para el canal alpha) y es un alias para Deja obsoleto las keyworks del sistema de colores (system-color) las cuales ya no deberían ser usadas en ambientes de producción. |
{{ SpecName("CSS3 Selectors", "", "") }} | {{ Spec2("CSS3 Selectors") }} desde el 29 de Septiembre de 2011 |
Agrega:
|
La siguiente iteración de la especificación de Selectores ya está en progreso, aunque aún no ha alcanzado el estado de primer borrador público de trabajo.
{{ SpecName("CSS3 Namespaces", "", "") }} | {{ Spec2("CSS3 Namespaces") }} desde el 29 de Septiembre de 2011 |
Añade soporte para los nombres de espacio XML (namespaces) definiendo la noción de nombre CSS cualificado (CSS qualified name), usando la sintaxis ' | ' y agregando la regla CSS {{ cssxref("@namespace") }}. |
{{ SpecName("CSS3 Media Queries", "", "") }} | {{ Spec2("CSS3 Media Queries") }} desde el 19 de Junio de 2012 |
Extiende los tipos anteriores de media ( Los Media queries no sólo son usado en documentos CSS sino también en algunos atributos de elementos HTML, como el atributo {{ htmlattrxref("media","link") }} del elemento {{ HTMLElement("link") }}. |
La siguiente generación de esta especificación está en progreso, permitiendo adaptar un sitio Web con respecto a los métodos de entrada disponibles en el agente del usuario con las nuevas características media como hover
o pointer.
También está propuesta la detección de soporte EcmaScript usando media script
.
{{ SpecName("CSS3 Style", "", "") }} | {{ Spec2("CSS3 Style") }} desde el 7 de Noviembre de 2013 |
Define formalmente la sintaxis del contenido del atributo global |
{{ SpecName("CSS3 Backgrounds", "", "") }} | {{ Spec2("CSS3 Backgrounds") }} |
Agrega:
|
El CSS4 Iteración de fondos y Especificación de bordes ya está en progreso; aunque aún no ha alcanzado el estado del Primer Borrador de Trabajo Público, este planea agregar la característica de acortar los bordes (en el CSS {{ cssxref("border-clip") }}, {{ cssxref("border-clip-top") }}, {{ cssxref("border-clip-right") }}, {{ cssxref("border-clip-bottom") }}, y {{ cssxref("border-clip-left") }} propiedades) o controlar la forma del borde en una esquina (usandopropiedad CSS {{ cssxref("border-corner-shape") }}).
{{ SpecName("CSS3 Multicol", "", "") }} | {{ Spec2("CSS3 Multicol") }} |
Se agrega soporte para el diseño fácil de multi-columnas usando CSS {{ cssxref("columns") }}, {{ cssxref("column-count") }}, {{ cssxref("column-fill") }}, {{ cssxref("column-gap") }}, {{ cssxref("column-rule") }}, {{ cssxref("column-rule-color") }}, {{ cssxref("column-rule-style") }}, {{ cssxref("column-rule-width") }}, {{ cssxref("column-span") }}, {{ cssxref("column-width") }}, {{ cssxref("break-after") }}, {{ cssxref("break-before") }}, and {{ cssxref("break-inside") }}. |
{{ SpecName("CSS3 Speech", "", "") }} | {{ Spec2("CSS3 Speech") }} |
Defines the speech media type, an aural formatting model and numerous properties specific for speech-rendering user agents. |
{{ SpecName("CSS3 Images", "", "") }} | {{ Spec2("CSS3 Images") }} |
Se define el tipo de dato {{cssxref("<image>")}}. Se extiende la sintaxis de Agregados:
|
The CSS Image Values and Replaced Content Level 4 which will supersede CSS Image Level 3 is in development and is a {{Spec2("CSS4 Images")}}.
{{ SpecName("CSS3 Values", "", "") }} | {{ Spec2("CSS3 Values") }} |
Makes Formally defines the CSS data types of CSS 2.1, that were implicitely defined by their grammar token and some textual precisions. Adds:
|
Several types definition, like <ident>
and <custom-ident>
, have been deferred to CSS Values and Units Module Level 4.
{{ SpecName("CSS3 Flexbox", "", "") }} | {{ Spec2("CSS3 Flexbox") }} |
Add a flexbox layout to the CSS {{ cssxref("display") }} property and several new CSS properties to control it: {{ cssxref("flex") }}, {{ cssxref("flex-align") }}, {{ cssxref("flex-direction") }}, {{ cssxref("flex-flow") }}, {{ cssxref("flex-item-align") }}, {{ cssxref("flex-line-pack") }}, {{ cssxref("flex-order") }}, {{ cssxref("flex-pack") }}, and {{ cssxref("flex-wrap") }}. |
{{ SpecName("CSS3 Conditional", "", "") }} | {{ Spec2("CSS3 Conditional") }} |
Adds features for conditional processing of parts of style sheets, conditioned on capabilities of the browser or the document the style sheet is being applied to. It consists mainly in allowing nested at-rules inside {{ cssxref("@media") }} and the adding of a new CSS at-rule, {{ cssxref("@supports") }}, and a new DOM method {{domxref("CSS.supports()")}}. |
{{ SpecName("CSS3 Text-decoration", "", "") }} | {{ Spec2("CSS3 Text-decoration") }} |
Extends:
Adds:
Precises:
At risk: due to insufficient browser support, standardization of the |
{{ SpecName("CSS3 Fonts", "", "") }} | {{ Spec2("CSS3 Fonts") }} |
Amends the CSS2.1 Font matching algorithm to be closer to what is really implemented. Adds:
|
{{ SpecName("CSS3 Syntax", "", "") }} | {{ Spec2("CSS3 Syntax") }} |
Precises how charsets are determined; minor changes in parsing and tokenization algorithms. |
Specifications that are deemed to be in the refining phase are already fairly stable. Though changes are still expected, they shouldn't create incompatibilities with current implementations; they should mainly define behavior in edge cases.
{{ SpecName("CSS3 Basic UI", "", "") }} | {{ Spec2("CSS3 Basic UI") }} |
Adds:
|
An early list of what could be in the next iteration of the CSS Basic User Interface Module is available.
{{ SpecName("CSS3 Transitions", "", "") }} | {{ Spec2("CSS3 Transitions") }} |
Allows the definition of transitions effects between two properties values by adding the CSS {{ cssxref("transition") }}, {{ cssxref("transition-delay") }}, {{ cssxref("transition-duration") }}, {{ cssxref("transition-property") }}, and {{ cssxref("transition-timing-function") }} properties. |
{{ SpecName("CSS3 Animations", "", "") }} | {{ Spec2("CSS3 Animations") }} |
Allows the definition of animations effects by adding the CSS {{ cssxref("animation") }}, {{ cssxref("animation-delay") }},{{ cssxref("animation-direction") }}, {{ cssxref("animation-duration") }}, {{ cssxref("animation-fill-mode") }}, {{ cssxref("animation-iteration-count") }}, {{ cssxref("animation-name") }}, {{ cssxref("animation-play-state") }}, and {{ cssxref("animation-timing-function") }} properties, as well as the {{ cssxref("@keyframes") }} at-rule. |
{{ SpecName("CSS3 Transforms", "", "") }} | {{ Spec2("CSS3 Transforms") }} |
Adds:
Note: this specification is a merge of CSS 2D-Transforms, CSS 3D-Transforms and SVG transforms. |
{{ SpecName("CSS3 Fragmentation", "", "") }} | {{ Spec2("CSS3 Fragmentation") }} |
Defines how partitions of a Web page should happen, that is page, column breaks, and widows and orphans handling.
Adds:
|
{{ SpecName("CSS3 Text", "", "") }} | {{ Spec2("CSS3 Text") }} |
Extends:
Adds:
|
A few features present in early CSS Text Level 3 draft have being postponed to the next iteration of this module .
{{ SpecName("CSS3 Variables", "", "") }} | {{ Spec2("CSS3 Variables") }} |
Defines a mechanism allowing to define variables in CSS. |
Modules that are in the revising phase are much less stable than those in the refining phase. Often the syntax is still under scrutiny and may evolve a lot, in a non-compatible way. Alternative syntax are tested and often implemented.
{{ SpecName("CSS3 Writing Modes", "", "") }} | {{ Spec2("CSS3 Writing Modes") }} |
Defines the writing modes of both horizontal and vertical scripts and precises how the CSS {{ cssxref("direction") }} and {{ cssxref("unicode-bidi") }} properties interact with the new CSS {{ cssxref("text-orientation") }} property, and extends them where needed. |
{{ SpecName("CSS4 Images", "", "") }} | {{ Spec2("CSS4 Images") }} |
Extends:
Adds:
|
{{ SpecName("CSS3 Device", "", "") }} | {{ Spec2("CSS3 Device") }} |
Adds a new at-rule, {{ cssxref("@viewport") }}, allowing to specify the size, zoom factor, and orientation of the viewport that is used as the base for the initial containing block. |
{{ SpecName("CSS3 Grid", "", "") }} | {{ Spec2("CSS3 Grid") }} |
Add a grid layout to the CSS display property and several new CSS properties to control it: {{cssxref("grid")}}, {{cssxref("grid-area")}}, {{cssxref("grid-auto-columns")}}, {{cssxref("grid-auto-flow")}}, {{cssxref("grid-auto-position")}}, {{cssxref("grid-auto-rows")}}, {{cssxref("grid-column")}}, {{cssxref("grid-column-start")}}, {{cssxref("grid-column-end")}}, {{cssxref("grid-row")}}, {{cssxref("grid-row-start")}}, {{cssxref("grid-row-end")}}, {{cssxref("grid-template")}}, {{cssxref("grid-template-areas")}}, {{cssxref("grid-template-rows")}}, and {{cssxref("grid-template-columns")}}. |
{{ SpecName("CSS3 GCPM", "", "") }} | {{ Spec2("CSS3 GCPM") }} |
Adds the ability to tailor printed version of a document by allowing to control header, footer but also references tables like indexes or tables of content. |
{{ SpecName("CSS3 Exclusions and Shapes", "", "") }} | {{ Spec2("CSS3 Exclusions and Shapes") }} |
Extends the floats mechanism to define exclusion regions in any positioning scheme. Adds the notion of shapes, in which content must flows. |
{{ SpecName("CSS3 Lists", "", "") }} | {{ Spec2("CSS3 Lists") }} |
Extends the list counter mechanism so that list markers can be styled and Web developers can define new list counter schemes. |
{{ SpecName("CSS3 Regions", "", "") }} | {{ Spec2("CSS3 Regions") }} |
Defines a new mechanism allowing content to flow across, eventually non-contiguous, multiple areas called regions. |
{{ SpecName("CSS3 Device", "", "") }} | {{ Spec2("CSS3 Device") }} |
Adds a new at-rule, {{ cssxref("@viewport") }}, allowing to specify the size, zoom factor, and orientation of the viewport that is used as the base for the initial containing block. |
{{ SpecName("Filters 1.0", "", "") }} | {{ Spec2("Filters 1.0") }} |
{{ SpecName("CSS3 Template", "", "") }} | {{ Spec2("CSS3 Template") }} |
{{ SpecName("CSS3 Sizing", "", "") }} | {{ Spec2("CSS3 Sizing") }} |
{{ SpecName("CSS Line Grid", "", "") }} | {{ Spec2("CSS Line Grid") }} |
{{ SpecName("CSS3 Positioning", "", "") }} | {{ Spec2("CSS3 Positioning") }} |
{{ SpecName("CSS3 Ruby", "", "") }} | {{ Spec2("CSS3 Ruby") }} |
{{ SpecName("CSSOM", "", "") }} | {{ Spec2("CSSOM") }} |
{{ SpecName("CSS3 Overflow", "", "") }} | {{ Spec2("CSS3 Overflow") }} |
{{ SpecName("CSS3 Font Loading", "", "") }} | {{ Spec2("CSS3 Font Loading") }} |
{{ SpecName("CSS3 Display", "", "") }} | {{ Spec2("CSS3 Display") }} |
{{ SpecName("CSS Scope", "", "") }} | {{ Spec2("CSS Scope") }} |
{{ SpecName("CSS4 Media Queries", "", "") }} | {{ Spec2("CSS4 Media Queries") }} |
{{ SpecName("CSS Non-element Selectors", "", "") }} | {{ Spec2("CSS Non-element Selectors") }} |
{{ SpecName("Geometry Interfaces", "", "") }} | {{ Spec2("Geometry Interfaces") }} |
{{ SpecName("CSS3 Inline", "", "") }} | {{ Spec2("CSS3 Inline") }} |
Modules that are in the rewriting phase are outdated and require to be rewritten. The syntax is still under scrutiny and may evolve a lot, in a non-compatible way. Alternative syntaxes are tested and often implemented.
{{ SpecName("CSS3 Box", "", "") }} | {{ Spec2("CSS3 Box") }} |
{{ SpecName("CSS3 Content", "", "") }} | {{ Spec2("CSS3 Content") }} |
{{ SpecName("CSS3 Inline Layout", "", "") }} | {{ Spec2("CSS3 Inline Layout") }} |