The Magic of Feature Queries, Part 1 – 5/7 Resilient CSS

Опубликовано: 30 Сентябрь 2024
на канале: Layout Land
19,577
654

To make awesome new designs work in all browsers, sometimes you’ll want to prevent older browsers from running an entire block of CSS unless that browser understands a certain new feature. Enter, the Feature Query. It let's us write one set of code to sometimes work, and sometimes not work, depending on the age of the browser.