Closed coolaj86 closed 12 years ago
it works. the readme says when doing color animation that you need to explicitly set the style on it first — and not with a named color (only #hex
or rgb()
)
that means, do this first...
// fade from 0ff -> fff
el.style.borderColor = '#0ff'
morpheus(el, {
'border-color': '#fff'
...
})
I've got an input validation that I want to turn bright green and then fade out to nothing.
Is there a technical limitation as to why
border-color
andbackground-color
behave differently?