/css/counter.css

https://bitbucket.org/andgarzon/apple-style-flip-counter · CSS · 16 lines · 5 code · 1 blank · 10 comment · 0 complexity · b6bbda83d854391824edb55a53d83815 MD5 · raw file

  1. /*
  2. Styling the counter itself.
  3. Set image paths accordingly.
  4. THIS YOU NEED TO KEEP.
  5. So you can have multiple counters on a page, just make sure each one has a class of "flip-counter".
  6. */
  7. .flip-counter ul.cd{float:left;list-style-type:none;margin:0;padding:0}
  8. .flip-counter li{background:url(../img/digits.png) 0 0 no-repeat}
  9. .flip-counter li.t{background-position:0 0;width:53px;height:39px}
  10. .flip-counter li.b{background-position:0 0;width:53px;height:64px}
  11. .flip-counter li.s{background-position:-53px -1030px;width:14px;height:103px}