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

Front-End: Fun, Not Frustration

Front-End: Fun, Not Frustration

Front-end development should be fun. Here is a random list of 12 things that will help you battle front-end frustration.

Roy Tomeij

April 24, 2014
Tweet

More Decks by Roy Tomeij

Other Decks in Programming

Transcript

  1. table { width: 100%; height: 100%; } ! td {

    vertical-align: middle; text-align: center; }
  2. .element { display: table; width: 100%; } ! .content {

    display: table-cell; vertical-align: middle; text-align: center; }
  3. .sidebar { width: 0; transition: width 1s; } ! .sidebar.active

    { width: 200px; } ! $(‘.sidebar’).toggleClass(‘active’);
  4. $sass-list: ( “locked”: “lock.png”, “error”: “exclamation-mark.png” ); ! @each $key,

    $value in $sass-list { .#{$key} { background: image-url($value); } }
  5. svg