Menu
About me Kontakt

The article published on the Microsoft Edge Developer blog discusses an important topic: the performance of CSS selectors. The author begins by explaining that some commonly used advice regarding selector choice is actually outdated or misleading. For instance, many individuals recommend avoiding universal selectors or complex selectors, assuming they always have a negative impact on performance. However, the truth is that the performance of CSS selectors depends on context and specific use cases. As browsers and rendering engines evolve, the rules regarding the efficiency of various selectors have changed as well. Therefore, the author encourages testing the performance of specific selectors in practical scenarios and analyzing their impact on loading and rendering times of web pages. In summary, the article suggests a more evidence-based approach rather than relying on generalized advice, in order to adapt better to the constantly evolving web environment.