News

In this first piece on efficient CSS, we look at selectors, how the browser reads them, and how to make yours more efficient–plus a few tips on how to include stylesheets in your projects.
I admit, jQuery makes it awfully easy to locate elements in code, manipulate their styles and toggle CSS classes. But much of the styling can be done directly in CSS, which leads to better separation ...
Selectors closer to the object we’re targeting within the structure of an HTML document take precedence when two rules conflict. Let’s look at a real-world example to see how this unfolds.
To speed up how webpages render and improve end user experience, consider these five CSS performance optimization tips. 1. Use inline styles If a given style is used only on a single, specific page ...