In another example, you may want to select the first list item that does not have the hidden attribute (or any other attribute, for that matter). * select all s that are not descendants of */ * select all s that are descendants of */ This new version of :not() accepts complex selectors and even entire selector lists.įor example, you can now select all elements that are not contained within an element. Let’s jump into the news… The enhanced :not() pseudo-class enables new kinds of powerful selectorsĪfter a years-long wait, the enhanced :not() pseudo-class has finally shipped in Chrome and Firefox, and is now supported in all major browser engines. In this week’s update, the CSS :not pseudo class can accept complex selectors, how to disable smooth scrolling when using “Find on page…” in Chrome, Safari’s support for there media attribute on elements, and the long-awaited debut of the path() function for the CSS clip-path property. Hey, we’re back with weekly updates about the browser landscape from Šime Vidas.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |