Rule filtering based on specific selector(s) support
Read OriginalThis article explains a clever CSS technique to apply styles only in browsers that support specific selectors. It works by prepending a rule with a selector that uses the features you want to test but is guaranteed not to match any element. Browsers that don't understand the test selector will ignore the entire rule, providing a form of feature detection without @supports.
0 Comments
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
1
ServiceNow and Microsoft Copilot
Marius Sandbu
•
1 votes
2
The Learning Loop and LLMs
Martin Fowler
•
1 votes