I just tested morphing to another css class and it doesn't seem to work like I expect it to either, the css says em but it morphs to pixels.
It does work, however, if you define it like I mentioned before. On Dec 31, 11:44 am, rpflo <[email protected]> wrote: > 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
