This works:
$('dopeSauce').morph({font-size : '10em'});
Haven't tested it with morphing to a css class, however.
On Dec 31, 10:33 am, Jacob <[email protected]> wrote:
> I have a morph instance that is using a classname, so it looks like
>
> h1.morph('h1.loading')
>
> and h1.loading has the rule {font-size:1.75em}
>
> Mootools morphs this instead to {font-size:2px}. The same problem but
> inversed happens if I use a percentage for font size. If I used a hard
> pixel value {fonts-size:24px} it works just fine.
>
> Does Mootools understand EMs and %s as relative measurements?
>
> Thanks
> J