Índice de contenidos
"Follow up", seguimiento de nuevas caracteristicas en css y html
Nuevas características de html y css a las que hay que seguir la pista.
font-size-adjust
The font-size-adjust CSS property provides a way to modify the size of lowercase letters relative to the size of uppercase letters, which defines the overall font-size. This property is useful for situations where font fallback can occur.
nth-of-type(of)
The newest versions of :nth-child() and :nth-last-child() accept an optional of S clause which filters the children to only those which match the selector list S. For example, :nth-child(1 of .foo) selects the first child among the children that have the foo class (ignoring any non-foo children which precede that child). Similar to :nth-of-type, but for arbitrary selectors instead of only type selectors.
color-mix()
The color-mix() functional notation takes two colors values and returns the result of mixing them in a given colorspace by a given amount.
media queries: range syntax
Mejoras en la sintaxis para que las
media queriespuedan usar las características de rango (como ancho o alto) más fácil de entender. Se podrán usar con operadores matemáticos comunes<
,>
,>=
, o<=
.
light-dark()
The light-dark() CSS color function enables setting two colors for a property - returning one of the two colors options by detecting if the developer has set a light or dark color scheme or the user has requested light or dark color theme
field-sizing
@scope
Container queries
:modal
- :modal Mozilla
@layer
- @layer en MDN web docs
- @layer en canisuse
- A Complete Guide to CSS Cascade Layers
- Css Specificity - video
- Cascade layers are coming to your browser
Css nesting
Scroll driven animations
text-wrap:balance
text-box-trim & text-box-edge
view transitions
- Caniuse
- Chris Coyier - Intuitive List Item Transitions with the View Transitions API
- Kevin Powell - Awesome filtering animation with vanilla JS! - Video