• BlameTheAntifa@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 months ago

          I thought CSS was for things like layout and fonts. How would genuine programming features factor in? Is this about replacing JavaScript?

          • IngeniousRocks (They/She) @lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            3
            ·
            3 months ago

            CSS is for StyleSheets (so yes layout and font but also more). Adding these features allows for more reactive/responsive styles where the style may be behaviorally defined instead of hardcoding styles.

            Basically the only thing I can think of to do with it is some kind of reactive layout that crunches some data and responds to it. IDK, I’m not a web dev and try to avoid CSS when I can.