YES! I first ran across native CSS variables about a month ago, and was super excited - finally variables come to CSS without a preprocessor! This post is a nice example of where they can be used. Thanks!
Oh, good point! I should have included the caniuse link! They are for me just so integral and normal to use that I don't even think about that there can be some issues with older browser ๐
YES! I first ran across native CSS variables about a month ago, and was super excited - finally variables come to CSS without a preprocessor! This post is a nice example of where they can be used. Thanks!
(for those curious, here's where you can check what browsers support css variables: caniuse.com/#feat=css-variables)
They are really awesome!
Oh, good point! I should have included the caniuse link! They are for me just so integral and normal to use that I don't even think about that there can be some issues with older browser ๐
And for IE11 i made this polyfill (linked on caniuse)
github.com/nuxodin/ie11CustomPrope...
Oh, nice!
Thanx.
Here the Demo in IE11 with just adding the polyfill:
jsbin.com/pofetiyaha/1/edit
Nice I will check it out later ๐๐