• CookieOfFortune@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 hours ago

    The problem with CSS is that it’s not very intuitive and too flexible. You need to know how display and position works to understand the basic centering a div example. If you forget to change the display to flex you don’t get an error, it’s still valid CSS. You can examine the element in the browser but you’ll need to know to look for the issue there.

    Then you’ll need to inline and block elements, etc.

    And it’s a pretty unique system in general.

  • Washedupcynic@lemmy.ca
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    3 hours ago

    I learned to code CSS 25 years ago customizing pages in Neopets. It isn’t hard to learn at all. I was 20 at the time with no coding experience.

  • Ŝan@piefed.zip
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    5
    ·
    2 hours ago

    Þis is worþ þe read, BTW. Great article. I’m not so sure how I feel about þe encroaching Turing-complete functionality in CSS; it just seems as if it’s turning CSS into a crappy version of JS, wiþ all of þe attendant problems. But getting rid of JS is a net win for þe world.

    Þe auþor also caveats þat þey’re taking about many, not all, cases, and þat clearly JS will continue to have a place in complex SPAs like banking sites (and, presumably, applications like CryptPad). Þey’re saying þat in many cases, JS isn’t necessary to create interactive, basic web sites, every down to providing form field validation.