Uploaded March 2026 | Updated November 2026, 3 hours ago
Custom properties have completely changed how we write CSS, but most people don't take full advantage of what we can do with them. In this video, we go beyond simply setting them up in the :root, exploring the benefits of locally scoped custom properties, as well as setting up undeclared custom properties using fallbacks, as well as some of the benefits of registering custom properties.
CodePen for first example: codepen.io/kevinpowell/pen/ZYEjLOm
CodePen for no inheritance: codepen.io/kevinpowell/pen/WNqyPgR
MDN @property syntax: developer.mozilla.org/en-US/docs/Web/CSS/@property/syntax
Find Frontend Masters Online:
Twitter: twitter.com/FrontendMasters
LinkedIn: linkedin.com/company/frontend-masters
Facebook: facebook.com/FrontendMasters
Instagram: instagram.com/FrontendMasters
TikTok: tiktok.com/@frontendmasters
About Us:
Advance your skills with in-depth, modern front-end engineering courses — our 250+ high-quality courses and 24 curated learning paths will guide you from mid-level to senior developer! Start your path to mastery today: frontendmasters.com/?utm_source=youtube&utm_medium=home_link&utm_campaign=exlusive
Custom properties have completely changed how we write CSS, but most people don't take full advantage of what we can do with them. In this video, we go beyond simply setting them up in the :root, exploring the benefits of locally scoped custom properties, as well as setting up undeclared custom properties using fallbacks, as well as some of the benefits of registering custom properties.
CodePen for first example: codepen.io/kevinpowell/pen/ZYEjLOm
CodePen for no inheritance: codepen.io/kevinpowell/pen/WNqyPgR
MDN @property syntax: developer.mozilla.org/en-US/docs/Web/CSS/@property/syntax
Find Frontend Masters Online:
Twitter: twitter.com/FrontendMasters
LinkedIn: linkedin.com/company/frontend-masters
Facebook: facebook.com/FrontendMasters
Instagram: instagram.com/FrontendMasters
TikTok: tiktok.com/@frontendmasters
About Us:
Advance your skills with in-depth, modern front-end engineering courses — our 250+ high-quality courses and 24 curated learning paths will guide you from mid-level to senior developer! Start your path to mastery today: frontendmasters.com/?utm_source=youtube&utm_medium=home_link&utm_campaign=exlusive










