DEV Community

Discussion on: What is CSS Variable - in simple terms

andersbjorkland profile image
Anders Björkland

Nice write-up!
I wondered what you were doing declaring variables in local scope instead of global but you gave a good explanation of the differences.

I've never declared variables in local scope, have you (or anyone else around here) found it useful to do so?

cesscode profile image
Cess Author

I prefer using global scope to local sope