CSS Timer text moves when it comes at number 1 -
does knows how change width of character? have timer , position good, when comes @ number 1, width of timer smaller. should same position time. there knows solution this? i'm using digital-7 font.
css:
#time { font-family: digital-7; font-size: 60px; position: absolute; margin: auto; top: 65px; left: 342px; color: white; text-align: right; display: block; width: 30px; text-align: right; letter-spacing:5px; }
html:
<span id="time"></span>
the problem is, using font not monospaced (all letters use same "invisible box" placed behind), solution you, can switch font - , requires no additional coding.
your font provided monospaced, try out > digital-7
Comments
Post a Comment