I can't seem to get this plugin to transition the css property 'font-size'. I get an 'unexpected token -' error whenever I try to run it. Any thoughts? Is this property not supported by Transit?
Asked
Active
Viewed 77 times
2 Answers
0
You may want to try using
'scale(x)'
I personally have had problems transitioning font-size with jquery/javascript, and scale works great.

cracker
- 53
- 1
- 4
0
It should work like this:
elem.transition({
height: new_height,
width: new_width,
fontSize: "100px"
});
You probably wrote font-size instead of fontSize. Or forgot to declare font-size in the CSS file.

Diego Cerdan Puyol
- 1,134
- 1
- 12
- 13