mozilla

Compare Revisions

Writing efficient CSS

Change Revisions

Revision 505451:

Revision 505451 by paul.irish on

Revision 505453:

Revision 505453 by paul.irish on

Title:
Writing efficient CSS
Writing efficient CSS
Slug:
Web/Guide/CSS/Writing_efficient_CSS
Web/Guide/CSS/Writing_efficient_CSS
Tags:
"CSS Selectors", "CSS", "XUL", "Web", "Guide", "Best practices"
"CSS Selectors", "CSS", "XUL", "Web", "Guide", "Best practices"
Content:

Revision 505451
Revision 505453
t8      This document was originally written in 2000. Much has chant8      This document was originally written in 2000. Much has chan
>ged when it comes to writing efficient CSS and this guide may not>ged when it comes to writing CSS that is fast. This guide is not 
> be the most accurate resource anymore for how browsers work. For>accurate representation of the bottlenecks in the CSS to pixels r
> selectors in particular, read <a class="external" href="ht%20tp:>endering pipeline. For selectors in particular, read <a class="ex
>//calendar.perfplanet.com/2011/css-selector-performance-has-ch%20>ternal" href="http://calendar.perfplanet.com/2011/css-selector-pe
>anged-for-the-better/" title="http://calendar.perfplanet.com/2011>rformance-has-changed-for-the-better/" title="http://calendar.per
>/css-selector-performance-has-changed-for-the-better/">CSS Select>fplanet.com/2011/css-selector-performance-has-changed-for-the-bet
> or Performance has changed! (For the better)</a> for a more rece>ter/">CSS Selector Performance has changed! (For the better)</a> 
>nt take.>for a more recent take. For improving CSS speed, investigate impr
 >oving costs of Reflow (layout) and Paint.

Back to History