home.social

#css5 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #css5, aggregated by home.social.

  1. The making of a #CSS5 HDR enabled gradient tool a fun peek into the sketching that led to the gradient line UI, the color picker, the overall layout, some math and more! nerdy.dev/the-making-o...

  2. I would love to see proper versioning on CSS. I still remember the release of CSS3 and it's sad, that this moment just happened once in the 18 years I do this job now.

    At the same time other language had multiple ground breaking releases.

    CSS isn’t developing in a slow way. Not a bit. But you can't put the finger on a feature set. You can't hire for a specific feature set.

    "10 years of CSS experience" can mean, that border-radius is the most exciting thing that person ever did and starts to cry if they see the clamp syntax.

    "1 year experience with CSS 5" on the other hand would be pretty clear.

    smashingmagazine.com/2024/08/t

    #WebDev #CSS #CSS3 #CSS4 #CSS5 #Coding

  3. Am I the only one not excited about the new versioning thing of CSS? CSS4, CSS5, CSS10!

    I don't think I will get used to that 😖

    #CSS #CSS3 #CSS4 #CSS5 #CSS6

  4. A really interesting read.

    “Naming is always hard, yet it’s just something we have to do in CSS to properly select things. I think it’s time we start naming [CSS releases] like this, too. It’s only a matter of time before “modern” isn’t “modern” anymore.” — Geoff Graham

    smashingmagazine.com/2024/08/t

    #css #css3 #css4 #css5 #css6 #cssNext #w3c #webdev

  5. It's time to put to rest #hex and #rgb() / #rgba() colours in #CSS and embrace the future: #oklch() and #oklab()

    * oklch() model: caniuse.com/?search=oklch%28%2
    * oklab(): caniuse.com/?search=oklab%28%2

    I'm not sure why we still need to add/support lch() and lab() since the ‘okay’ version is the ‘fixed’ version… which is better. Then again, I'm not a #colour expert, hence I can't think of a reason. (Can someone enlighten us, mortals? Thank you!)

    Since oklch(), oklab(), lch(), and lab() are still not widely supported (yet), and many end-users are still using an old version of browsers without support, there is #hwb().

    As you can see from caniuse.com/?search=hwb%28%29 hwb() is widely supported already. The only browsers still without hwb() support are niche browsers, mainly from China (they don't even support rgb() according to #CanIUse).

    * Base #color model: hwb()
    * To be future proof: oklch() or oklab()

    What I'm more excited about is the #RelativeColor feature from #CSSColor5, but that's for another day.

    #CSSColor4 #CSS5 #CSS #colors #color #webdev #webmaster

  6. "@layers"; this seems more useful than css modules.

    if I have a current framework that doesn't use them, is there a tool to recompile the framework onto a 'layer0' .
    Tagging layers to a relative file import inside your current stylesheet is less good for short / predictable load speed.