Creating your first CSS Custom Properties

Video is ready, Click Here to View ×


In this talk (presented at Memphis Web Workers August 13, 2019), we’ll walk through refactoring a standard set of vanilla CSS into code using custom properties. Want to read this in blog form? Head here:

We’ll take a standard button style, refactor it into CSS Custom Variables and then use those variables to create more highly-scoped CSS as well as modify the values on the fly in JavaScript!

You can find the CodePen from the talk here:

#css #webdesign #cssvariables

==========

Read more from me at https;//bryanlrobinson.com
earn CSS Grid from me at
Get a free design critique:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.