There are many ways to start using a new feature in CSS without waiting for full cross-browser support, but "feature queries" are the most clear and explicit. We can use them to test for browser support, and provide targeted styles only where they are supported. Now we can do the same with new selectors, like ::marker or :focus-visible! Firefox 69 was the first to implement selector feature queries, but other browsers are following suit. Miriam Suzanne will show you how it works, and how to start using this new feature query right away.
Firefox 69 Release Notes: https://developer.mozilla.org/en-US/d...
MDN: https://developer.mozilla.org/en-US/d...
Caniuse: https://caniuse.com/#feat=mdn-css_at-...
Demos: https://mozdemos.netlify.com/support-...
#CSS #featurequeries #miriamsuzanne
Смотрите видео Use new selectors responsibly with selector queries онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Mozilla Developer 20 Ноябрь 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 8,915 раз и оно понравилось 382 людям.