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 bình luận
bình luận
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet