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