menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Software News

>

A CSS Wish...
source image

CSS-Tricks

2d

read

35

img
dot

Image Credit: CSS-Tricks

A CSS Wishlist for 2025

  • 2024 has been one of the greatest years for CSS: cross-document view transitions, scroll-driven animations, anchor positioning, animate to height: auto, and many others.
  • Geoff proposes a conditional if() statement, CSS mixins, // inline comments and font-size: fit.
  • Ryan wishes for anchor positioning in more browsers and promoting elements to the #top-layer without popover as well as Adding a layer attribute to tags.
  • Juandi wants a simpler way to reference the index of an element between its siblings or the total number of children, a better way to balance flex-wrap layouts, and an easier way to read/research CSSWG discussions.
  • Other wishes from the crowd include rotation of direct background-images, CSS random(), a CSS anchor position mode that allows targeting the mouse cursor, pointer, or touch point positions, a string selector to query a certain word in a block of text and apply styling every time that word occurs, a native .visually-hidden class, and position: sticky with a :stuck pseudo.
  • CSS-Tricks hopes to keep writing and sparking discussions about the web in 2025.

Read Full Article

like

2 Likes

For uninterrupted reading, download the app