Why you should use CSS env()

added by JavaScript Kicks
4/8/2019 8:41:24 AM

484 Views

Having difficulty keeping shared CSS and JavaScript values updated and in sync? Are you faced with seemingly random bugs when updating shared values? In this article you'll find out how you can use the upcoming CSS env() feature and a PostCSS plugin to share the same variables between CSS and JS, AND store them in a single file.


0 comments