This is quite awesome, hopefully we'll see some cool things come out of it like we have of lettering.js
Two things though, a.) should turn it into a plugin as well, b.) s/kerning/letter spacing
No. The only thing one could do to minimize the HTML is to use :nth-child() instead of classes.
If CSS would support higher order matrices for transform, it could be possible with just one line per vendor suffix. But CSS3 has only 2x2 matrices, which aren't enough.
What are the browser requirements for this? I'm interested in building something like this, but just want to make sure most browsers out there would be able to run it.
18 comments
[ 5.0 ms ] story [ 23.0 ms ] threadAlso, it's not designed for live updates. It generates static text.
Couldn't this become incredibly slow to load very quickly?
Maybe the html/css generator should include a hidden span with the text?
If CSS would support higher order matrices for transform, it could be possible with just one line per vendor suffix. But CSS3 has only 2x2 matrices, which aren't enough.
No way.
http://www.w3.org/TR/SVG/text.html#TextOnAPath