pcouy@lemmy.pierre-couy.fr to Programming · edit-22 days agoGoodbye SASS, welcome back native CSSmedium.comexternal-linkmessage-square26fedilinkarrow-up187arrow-down18
arrow-up179arrow-down1external-linkGoodbye SASS, welcome back native CSSmedium.compcouy@lemmy.pierre-couy.fr to Programming · edit-22 days agomessage-square26fedilink
minus-squarefrezik@midwest.sociallinkfedilinkarrow-up11·2 days agoI like that css now has variables, but why that syntax?
minus-squareGamma@beehaw.orglinkfedilinkEnglisharrow-up5·2 days agoI think to make sure they don’t clash with existing identifiers
minus-squarefrezik@midwest.sociallinkfedilinkarrow-up21·2 days 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