Search code examples
htmlcssfontsborder

box around each letter with css without using spans


I'm trying to create a box around each letter to use for an odometer style stat counter. Do you know how to do this without wrapping each letter in a span? If you have any ideas I'd love to hear them.


Solution

  • Another option would be to use javascript to add in all the extra markup you need. There are some jquery plugins that do this type of thing already:

    http://daverupert.com/2010/09/lettering-js/