The CSS custom property toggle trick

Chris Coyier / filed under HTML & CSS

While must represent at least one token, that one token may be whitespace.

Subscribe to newsletter

Design and frontend links delivered to your inbox every day and week. No spam, unsubscribe at anytime.

Choose frequency

Permission