Skip to main content

Dynamic CSS Masterclass

Lea Verou
On the web
lea.verou.me/
On Twitter
@leaverou
Tickets
Get a ticket

Workshop includes:
  • Working examples to take away
  • Docs with all the info you'll be learning
  • Interactive sessions
  • Workshop recordings
  • Dedicated Q&A time
  • Smashing Certificate

Unfortunately, this workshop is fully sold out! To be notified when we run the workshop again, please join the waiting list below:


Workshop, 5×2h + Q&A Tue & Wed, May 25 — June 8 2021
09:00 – 11:30 AM PT (Pacific, US) 18:00 – 20:30 CET (Europe)

Calling CSS custom properties “CSS variables” buries the lede. Sure, they can be used as simple variables, in the same way as Sass variables, but using custom properties for fonts and colors is only utilizing a tiny fraction of their power.

Used to their full extent, CSS custom properties can facilitate better collaboration and code reuse, improve maintainability, and downright enable possibilities that previously required large amounts of hard-to-maintain Javascript and violated separation of concerns. They truly are a revolution in the way we write CSS, whose potential is still largely untapped. Now that they are finally supported by every modern browser, there is no excuse not to dive in.


We will cover the many benefits of using custom properties over other approaches, the nuts and bolts of how custom properties work, caveats and ways to work around them, and numerous practical non-obvious use cases where their power truly shines.

The use cases we will practice span a wide range of modern CSS, from Grid Layout and Flexbox to compositing and blending, so you will also get a crash course of modern CSS along the way.

$450 .00 Register for this workshop → Five 2.5h live sessions + Q&A. May 25 — June 8.
With all video recordings & slides. Get a ticket.

🎪  Save up to 25% on this workshop with Smashing Membership.


What Will You Learn In This Workshop?

  • How do CSS custom properties work? What can they be used for and what can’t they be used for? How do they differ from Sass/Less variables? Can they be combined with them?
  • What is browser support like? What can I do if I still need to support IE11?
  • How can custom properties improve code maintainability?
  • How do custom properties facilitate better collaboration between teams of different skill sets?
  • Reactive CSS with custom properties and JS, for true separation of behavior and styling
  • Invalid at computed value time: How do custom properties change the cascade?
  • Updating custom properties dynamically: how and why?
  • Emulating mixins and custom shorthands with custom properties
  • Custom properties for easier responsive design with less code
  • Encapsulation: how to use custom properties to create styling hooks?
  • Custom properties and web components: a match made in heaven
  • How to use Houdini APIs to animate custom properties and control evaluation
  • Debugging custom properties
  • Avoiding gotchas

Who Is This For?

This is a full workshop, delivered in five 2-hour long sessions with lots of time for Q&A, and hands-on exercises.

This workshop is for everyone who writes CSS, or JS that interacts with CSS. This includes front-end designers, front-end and full stack developers. It will be especially useful for anyone who writes code that is used by other developers. You will need a solid understanding of CSS, and for parts of the workshop, a basic understanding of JS (mainly events and basic DOM). You do not need to already be familiar with custom properties, though if you are extensively familiar, you will gain a lot from the workshop, as this is an advanced course and not an introduction.

Even if you don’t leave loving CSS, you will leave being able to do the parts of your job that involve CSS in a faster and better way.

$450 .00 Register for this workshop → Five 2.5h live sessions + Q&A. May 25 — June 8.
With all video recordings & slides. Get a ticket.

🎪  Save up to 25% on this workshop with Smashing Membership.


What Do You Need To Bring?

You will need a laptop, with a modern browser and a (free tier) CodePen account.

About Lea Verou

Lea is passionate about improving the Web, a goal that she has been working towards for over a decade, from many different angles. She is heavily involved in web standards, as an elected W3C Technical Architecture Group (TAG) member, as a longtime CSS Working Group Invited Expert, and in the past as W3C staff. She currently works at MIT, doing research at the intersection of HCI and programming languages. She is a well known speaker and author, having written several articles, book chapters, and the bestselling advanced CSS book CSS Secrets.

Lea has also started several open source projects and web applications, such as Prism, Mavo, and Awesomplete. Some of her open source work is used on millions of websites. She tweets @leaverou and blogs at lea.verou.me. She holds a MSc in Computer Science from MIT. Despite her technical pursuits, Lea is one of the few misfits who love code and design equally.

Time & Schedule

This workshop is split over five days. Our virtual doors open at 8:45, we start at 9 AM PT.

The workshop sessions will run on the following days:

  • Tue, May 25, 09:00 – 11:30 AM PT
  • Wed, May 26, 09:00 – 11:30 AM PT
  • Tue, June 1, 09:00 – 11:30 AM PT
  • Wed, June 2, 09:00 – 11:30 AM PT
  • Tue, June 8, 09:00 – 11:30 AM PT

Day 1: Fundamentals of CSS Custom Properties

8:45 AM PT
Virtual doors open, registration, chat and introduce yourself.

9:00 AM – 11:00 AM
Differences from preprocessor variables, main use cases, inheritance, default values and fallbacks, invalid values and parsing.

11:00 AM – 11:30 AM
Q&A with Lea on the day’s material. Chat with each other.

Day 2: Making the most of CSS Custom Properties

8:45 AM PT
Virtual doors open, registration, chat, what was most useful yesterday?

9:00 AM – 11:00 AM
Data types and conversions, conditionals, color manipulation, circumventing specificity and selector limitations, emulating “mixins”, animation.

11:00 AM – 11:30 AM
Q&A with Lea on the day’s material. Chat with each other.

Day 3: Custom Properties + JavaScript

8:45 AM PT
Virtual doors open, registration, chat, what was most useful yesterday?

9:00 AM – 11:00 AM
A revolution for separation of concerns, collaboration, and code reuse.

11:00 AM – 11:30 AM
Q&A with Lea on the day’s material. Chat with each other.

Day 4: Custom Properties as a CSS API

8:45 AM PT
Virtual doors open, registration, chat, what was most useful yesterday?

9:00 AM – 11:00 AM
Web components and theming, best practices.

11:00 AM – 11:30 AM
Q&A with Lea on the day’s material. Chat with each other.

Day 5: Putting It All Together

8:45 AM PT
Virtual doors open, registration, chat, what was most useful yesterday?

9:00 AM – 11:00 AM
How to think about solving problems with custom properties, with lots of use cases and hands on practice.

11:00 AM – 11:30 AM
Q&A with Lea on the day’s material. Chat with each other.


Unfortunately, this workshop is fully sold out! To be notified when we run the workshop again, please join the waiting list below: