alexprokop
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by alexprokop
-
-
Recently I found a background color animation was failing in IE8, this was because I was reading the color to tween to from a hidden div and IE8 was returning the value as 'whitesmoke'. It's easy enough to use a lookup table as here:
http://stackoverflow.com/questions/1573053/javascript-function-to-convert-color-names-to-hex-codes
But might be nice if this was handled internally by the CSS plugin.
Tweening unitless line height
in GSAP
Posted
I'm attempting to tween the line-height property of a div, containing multiple paragraphs. Using CSS best practices I'm using unitless values for line-height so that the value cascades. However when tweening values without units they are converted to pixels. I can probably hack around this, but I was wondering if it's possible to tell TweenLite not to do this conversion?