Learn the most common speed issues caused by CSS and how to avoid them.
seen from China
seen from United States

seen from Malaysia

seen from Venezuela

seen from United Kingdom
seen from South Korea

seen from Italy

seen from United States
seen from France

seen from Malaysia

seen from Malaysia

seen from China
seen from South Africa

seen from Malaysia
seen from United States

seen from United States

seen from Singapore
seen from United States
seen from China
seen from Malaysia
Learn the most common speed issues caused by CSS and how to avoid them.
In these presentation slides Github share their tips and tricks for css optimization.
Who said CSS wasn't a programming language? Jon tackles one piece of site performance.
A talk on some problems solved related to CSS Performance at GitHub. The talk was given at CSS Dev Conference in Honolulu, HI 2012. The slides are available in PDF form here speakerdeck.com/jonrohan/githubs-css-performance
Rules
no unnecessary tag identifiers, i.e. ul#navigation, ul.menu
no ancestors, i.e. html div tr td
no universal selectors, i.e. * ( display: block; }
no unqualified selectors, i.e. [class^="mini-icon-"] { display:block;}
no chaining, i.e. .small.private.icon { ... }
webkit bug?
Solutions
remove unnecessary HTML
simplify CSS
try to minimize HTML DOM matches
refactor and reuse CSS via components
teamwork!
graph and monitor everything
Tools
CSS Explain
CSS profiler
timeline
audits
Graphite - Scalable Realtime Graphing
GitHub's CSS Performance from Jon Rohan on Vimeo.
For most web sites, the possible performance gains from optimizing CSS selectors will be small, and are not worth the costs.
Performance Impact of CSS Selectors | High Performance Web Sites