+ 3
[Solved: Yes] Do CSS variables work with @media queries?
I should probably test this in the playground before I post it in the Q/A. Or Google it. Whoops. Maybe some one else will want to know and it'll be helpful. *heads to code playground*
7 Answers
+ 6
CSS variable?
In my webview no but chrome yes
+ 7
https://css-tricks.com/building-skeleton-screens-css-custom-properties/
Here's a link to where I learned about this, if anyone is interested.
+ 6
https://code.sololearn.com/WyOE1S8IL9vo/?ref=app
Works for me
+ 6
CSS Variable browser compatibility:
Chrome ~ 49.0 (2016)
Edge ~ Support
Firefox (Gecko) ~ 42 (2015)
Internet Explorer ~ Not support
Safari Mobile ~ 9.1
Chrome for Android ~ 49.0
Other option, you could consider use SASS or LESS preprocessor.
+ 5
.....Sound like you don't know its history,ha?
That it was remove for a long times and then it was released too lately
What I want to say is don't use in code playground until It's truly compatible on all android
+ 5
So unless its running in browser probably not worthy
+ 5
Hmm. Haven't studied SASS or LESS... seems legit tho, heard about it before.