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

Refactoring CSS

Refactoring CSS

昨今のWeb開発においてCSSはほかのプログラミング言語と変わらないくらい巨大化し、複雑になり、そしてメンテナンスが難しくなってきています。
CSSにもリファクタリングはやはり必要です。
本セッションではCSSにおけるリファクタリングへのアプローチにはどのようなものがあるかについて紹介します。

Yuya Saito

June 21, 2014
Tweet

More Decks by Yuya Saito

Other Decks in Programming

Transcript

  1. “The skills required to write good CSS code are by

    and large the same skills required to write good code in general.” — Lea Verou
  2. Refactoring (noun): a change made to the internal structure of

    software to make it easier to understand and cheaper to modify without changing its observable behaviour.
  3. “The most dangerous thought you can have as a creative

    person is to think you know what you're doing.”
  4. “Learn tools, and use tools, but don't accept tools. Always

    distrust them; always be alert for alternative ways of thinking. ” — Bret Victor
  5. .site-nav { [ελΠϧ] } .site-nav > li:hover .dropdown { position:

    absolute; top: 37px; /*ϚδοΫφϯόʔ*/ left: 0; }