pcouy@lemmy.pierre-couy.fr to Programming@programming.dev · edit-218 小时前Goodbye SASS, welcome back native CSSmedium.comexternal-linkmessage-square20fedilinkarrow-up163arrow-down15
arrow-up158arrow-down1external-linkGoodbye SASS, welcome back native CSSmedium.compcouy@lemmy.pierre-couy.fr to Programming@programming.dev · edit-218 小时前message-square20fedilink
minus-squarefreziklinkfedilinkarrow-up11·18 小时前I like that css now has variables, but why that syntax?
minus-squareGamma@beehaw.orglinkfedilinkEnglisharrow-up4·18 小时前I think to make sure they don’t clash with existing identifiers
minus-squarefreziklinkfedilinkarrow-up18·18 小时前I 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