I learned<\/a> is the number of elements that were easy and quick to eliminate from matching.<\/p>\n\n\n\nA lot of insights here if CSS is really the bottleneck that needs investigating. But read Patrick’s full post over on the Microsoft Edge Blog because he goes much deeper into the why’s and how’s, and walks through an entire case study.<\/p>\n","protected":false},"excerpt":{"rendered":"
Geez, leave it to Patrick Brosset to talk CSS performance in the most approachable and practical way possible. Not that CSS is always what’s gunking up the speed, or even the lowest hanging fruit when it comes to improving performance. But if you’re looking for gains on the CSS side of things, Patrick has a […]<\/p>\n","protected":false},"author":2508,"featured_media":376670,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sig_custom_text":"","sig_image_type":"featured-image","sig_custom_image":0,"sig_is_disabled":false,"inline_featured_image":false,"c2c_always_allow_admin_comments":false,"footnotes":"","jetpack_publicize_message":"Link: The truth about CSS selector performance","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":[]},"categories":[17],"tags":[1144,1470,592],"jetpack_publicize_connections":[],"acf":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2023\/01\/edge-devtools-selector-stats.png?fit=1200%2C600&ssl=1","jetpack-related-posts":[{"id":268205,"url":"https:\/\/css-tricks.com\/chrome-devtools-local-overrides\/","url_meta":{"origin":376659,"position":0},"title":"Chrome DevTools “Local Overrides”","date":"March 13, 2018","format":false,"excerpt":"There's been two really interesting videos released recently that use the \"Local Overrides\" feature of Chrome DevTools in order to play with web performance without even touching the original source code. Umar Hansa: Improving the performance of Soylent.com with local overrides and font-display Harry Roberts: Using Chrome\u2019s \u2018Local Overrides\u2019 to\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2018\/02\/chrome-devtools.jpg?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":317687,"url":"https:\/\/css-tricks.com\/whats-new-in-devtools-2020\/","url_meta":{"origin":376659,"position":1},"title":"A Look at What’s New in Chrome DevTools in 2020","date":"July 31, 2020","format":false,"excerpt":"I\u2019m excited to share some of the newer features in Chrome DevTools with you. There\u2019s a brief introduction below, and then we\u2019ll cover many of the new DevTools features. We\u2019ll also look at what\u2019s happening in some other browsers. I keep up with this stuff, as I create Dev Tips,\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2018\/02\/chrome-devtools.jpg?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":251777,"url":"https:\/\/css-tricks.com\/set-timed-debugger-web-inspect-hard-grab-elements\/","url_meta":{"origin":376659,"position":2},"title":"Set a Timed Debugger To Web Inspect Hard-To-Grab Elements","date":"February 22, 2017","format":false,"excerpt":"Triggering a debugger; statement at just the right moment can help you select a DOM element that is really hard (or impossible) to get selected in DevTools. You can do that directly in your code, or, through a setTimeout right in the console, so you can get the DOM just\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":275721,"url":"https:\/\/css-tricks.com\/what-do-we-call-browsers-native-development-tools\/","url_meta":{"origin":376659,"position":3},"title":"What do we call browser’s native development tools?","date":"September 5, 2018","format":false,"excerpt":"You know, that panel of tools that allows you to do stuff like inspect the DOM and see network requests. How do the companies that make them refer to them? Chrome calls them DevTools. Edge calls them DevTools. Firefox calls them Developer Tools. Safari calls it the Web Inspector. I\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2018\/02\/chrome-devtools.jpg?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":354537,"url":"https:\/\/css-tricks.com\/what-if-you-could-use-visual-studio-code-as-the-editor-of-in-browser-developer-tools\/","url_meta":{"origin":376659,"position":4},"title":"What if\u2026 you could use Visual Studio Code as the editor of in-browser Developer Tools?","date":"October 21, 2021","format":false,"excerpt":"It's not uncommon for my front-end workflow to go something like this: Work on thing.See that thing in an automatically refreshed browser.See something wrong with that thing.Inspect and correct the thing in DevTools.Apply the correct code in my code editor.See that correct code automatically refreshed in the browser. I know,\u2026","rel":"","context":"In "Link"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2021\/10\/experiment-sources-in-code-editor-open.msft_.png?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":294387,"url":"https:\/\/css-tricks.com\/can-you-view-print-stylesheets-applied-directly-in-the-browser\/","url_meta":{"origin":376659,"position":5},"title":"Can you view print stylesheets applied directly in the browser?","date":"August 19, 2019","format":false,"excerpt":"Yep. Let's take a look at how to do it in different browsers. Although note the date of this blog post. This stuff tends to change over time, so if anything here is wrong, let us know and we can update it. In Firefox... It's a little button in DevTools.\u2026","rel":"","context":"In "Article"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/css-tricks.com\/wp-content\/uploads\/2019\/08\/print-browser.jpg?fit=1200%2C600&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/376659"}],"collection":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/users\/2508"}],"replies":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/comments?post=376659"}],"version-history":[{"count":5,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/376659\/revisions"}],"predecessor-version":[{"id":377156,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/posts\/376659\/revisions\/377156"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media\/376670"}],"wp:attachment":[{"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/media?parent=376659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/categories?post=376659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/css-tricks.com\/wp-json\/wp\/v2\/tags?post=376659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}