If you’re a web developer, you may have already heard that some CSS selectors are faster than others. And you’re probably hoping to find a list of the better selectors to use in this article. Well, not quite. But bear with me, I promise that by the end, you’ll have learnt something new about CSS selector performance. A quick look behind the scenes The way you write CSS selectors does play a role i
![The truth about CSS selector performance](https://cdn-ak-scissors.b.st-hatena.com/image/square/5d22e87d0bf8095939d360b4966465651e991f24/height=288;version=1;width=512/https%3A%2F%2Fblogs.windows.com%2Fwp-content%2Fuploads%2Fprod%2Fsites%2F33%2F2021%2F09%2F1fcfaeac10ed41b08decb59e35dad86b.png)