/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/*------------------------------------------------------------------ [Estructura] */ <div id="flipper"> <h3> <span>0</span> <span>0</span> <span>0</span> <span>0</span> <span>0</span> <span>1</span> <span>4</span> </h3> <h4>Esto es un contador</h4> </div> /*------------------------------------------------------------------ [Presentación] */ div#flipper { padding: 4px 0 8px 0; text-align: center; border-bottom: 1px solid #fff; background: #333 url(flip-grad.gif) repeat-x top left; } div#flipper h3 { position: relative; margin: 0; padding: 10px 10px; font-size: 280%; line-height: 1em; color: #fff; } div#flipper h3 span { margin: 0 1px; padding: 0 5px; line-height: 1em; border-top: 1px solid #595959; background: #444; } div#flipper h4 { margin: 0 0 0 0; padding: 0; font-size: 100%; font-weight: normal; text-align: center; color: #888; }