CSS color-scheme
Understand how the color-scheme CSS property affects native styling of elements like scrollbars and form controls, and how to toggle between light and dark modes using just a few lines of CSS.
Thoughts / 115 posts since 2015
Notes, essays, and the odd announcement on design, code, and building things, written down whenever a thought wouldn't let go.
Understand how the color-scheme CSS property affects native styling of elements like scrollbars and form controls, and how to toggle between light and dark modes using just a few lines of CSS.
Explore the experimental <selectmenu> HTML element, how it compares to <select>, and how to style it with new ::part() selectors for full UI control.
html.digital is a modern reinterpretation of the browser's default stylesheet. It offers a clean, consistent baseline for designing websites by redefining native HTML element styles, aiming to improve readability and reduce the need for extensive resets or utility classes.
Master the hidden hierarchy of CSS with a visual deep-dive into specificity—learn how selectors truly stack up and what takes precedence when styles collide.