About the Author
Lawrence Chabela

Lawrence Chabela

Twitter

Front End Developer and Consultant at Keyhole Software by day | CSS3/HTML5 super hero by night I Content First Evangelist | Big Fan of Chex Mix

Getting to Know Custom CSS Properties

Lawrence Chabela CSS & HTML, Technology Snapshot Leave a Comment

CSS custom properties are very powerful way for you to spice up your style sheets. They are a way to separate JavaScript behavior and styling, as shown in the ability to set information in the JavaScript for the CSS to use for its styling.

Even if you’re using a preprocessor for your CSS, there is still a place for CSS custom properties to be directly embedded in your CSS.

In this blog: we introduce custom CSS properties, show why you want to use them, how to define them, and how to change them with and without JavaScript.

Sass

Structuring CSS Selectors With Sass Mixins

Lawrence Chabela CSS & HTML, Single-Page Application, Technology Snapshot 2 Comments

CSS naming can be one of the most challenging things in creating large-scale style systems in an application. There have been a lot of great practices, methodologies, and conventions that have arisen in the last few years to help. Popular examples that you might have heard of include BEM, OOCSS, and SMACSS. One that I would like to introduce to …