Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CSS Performance | Barcamp 9, Delhi

CSS Performance | Barcamp 9, Delhi

Video Recording : http://www.youtube.com/watch?v=m5ZOIykihnU

CSS is easy. Unfortunately for us writing bad CSS is even easier. I share 5 guidelines on writing better CSS for optimising your stylesheets.

Learn how to write modular, more efficient and less code for your styles by decoupling HTML & CSS.

Avatar for Vaibhav Kanwal

Vaibhav Kanwal

April 27, 2013

Other Decks in Technology

Transcript

  1. 1. Normalise Ref : Difference between Reset CSS & Normalise

    CSS? http://necolas.github.io/normalize.css/
  2. .box .body {} .box .body .title {} .box {} .box

    .body .title a{} .box-body {} .box-title {} .box {} .box-title a{}
  3. 4. Abstract Visuals .theme-header{ color: red} .theme-border{ border:1px solid grey}

    .theme-background{ background:blue} .red-header{ color: red} .grey-border{ border:1px solid grey} .blue-background{ background:blue}