10
C0D4
3y

For everyone here who already fails at css, I have some bad news for you.

CSS-4 coming to a browser near you!

https://www.w3.org/TR/selectors-4/

Comments
  • 4
    First, that's not news, given that the link is from 2018, and second, there is no CSS-4, only level 4 of some CSS modules.
  • 4
    @Fast-Nop April fools!
  • 5
    @c3r38r170 Ah shit - that one contained too much truth.
  • 2
    @Fast-Nop worth it 😂

    @c3r38r170 🥳
  • 2
    E:has would be a real game changer. I really need that for JS-less GUIs.
  • 0
    @Oktokolo I gave up on js-less GUIs when the browsers all decided that even though having :target change when a hyperlink is clicked makes sense, the standard doesn't explicitly state this and they all already fail to update it so it's better for compatibility to not change this. This means that the :target selector often ends up pointing to an entirely different element than the URL hash.
  • 0
    @Oktokolo Nowadays I either assign abundant classes to everything on the server and reload the page on every link even if it could technically be an internal link or use JS, unless the page I'm showing is closer to a document than an app and it doesn't really respond to anything beyond scroll and occasionally hover.
Add Comment