We continue our journey through the transformative world of modern CSS upgrades! color-scheme You may be familiar with the prefers-color-scheme media query to customize dark and light themes. The CSS property color-scheme is an opt-in to adapting browser UI elements including form controls, scrollbars, and CSS system colors. The adaptation asks the browser to renderContinue reading “Modern CSS Upgrades (Part 2)”
Tag Archives: css
Modern CSS Upgrades (Part 1)
In the ever-evolving landscape of web development, the language of design undergoes constant refinement. CSS, the style sheet language that breathes life into the digital realm, is no exception. Sometimes, improving your CSS just takes a one-line upgrade or enhancement! Learn about 10 properties to start incorporating into your projects, and enjoy reducing technical debt,Continue reading “Modern CSS Upgrades (Part 1)”
CSS Nesting
When we use a CSS preprocessor like Sass or Less, we can nest a CSS style rule within another rule to write clean and understandable code. This nesting rule is now supported in native CSS. Before nesting, every selector needed to be explicitly declared, separately from one another. This leads to repetition, stylesheet bulk andContinue reading “CSS Nesting”
