pcouy@lemmy.pierre-couy.fr to Programming@programming.dev · edit-218 hours agoGoodbye SASS, welcome back native CSSmedium.comexternal-linkmessage-square20fedilinkarrow-up165arrow-down15
arrow-up160arrow-down1external-linkGoodbye SASS, welcome back native CSSmedium.compcouy@lemmy.pierre-couy.fr to Programming@programming.dev · edit-218 hours agomessage-square20fedilink
minus-squarefrezik@midwest.sociallinkfedilinkarrow-up11·18 hours agoI like that css now has variables, but why that syntax?
minus-squareGamma@beehaw.orglinkfedilinkEnglisharrow-up4·18 hours agoI think to make sure they don’t clash with existing identifiers
minus-squarefrezik@midwest.sociallinkfedilinkarrow-up18·18 hours agoI could understand declaring with --foo, but then referencing should be either var(foo) or just --foo, not the combination var(--foo). I don’t get why the grammar has to work that way.
I like that css now has variables, but why that syntax?
I think to make sure they don’t clash with existing identifiers
I could understand declaring with
--foo
, but then referencing should be eithervar(foo)
or just--foo
, not the combinationvar(--foo)
. I don’t get why the grammar has to work that way.deleted by creator