Closed ariesjia closed 8 years ago
You can use Scale
for that.
I want animate height only , so Scale is not suitable for this scenario
How about scaleY
?
scale(1,2)
to animate only height double its size. Although they do not produce exactly the same output as expected.
if we have background img , set scale
will deformed
Animate Plus only allows you to animate cheap CSS properties in order to avoid choppy animations. So, unless browsers eventually find a way to make width
and height
as inexpensive as transform
, Animate Plus won't support them.
That being said, there are many ways to simulate a height
animation, the most popular one being the "sliding doors" technique. Here's a basic example.
can you and width and height in
supportedCSSprops