Contextual Styling Demo

After reading Simurai's article on Contextual Styling with Custom Properties, I decided to create a small demo using the same tech.

See the Pen CSS Variable theme using data-theme by Prateek Jadhwani (@prateekjadhwani) on CodePen.

Please do not forget to review Contextual Styling with Custom Properties article incase you are interested in this tech.

comments powered by Disqus