+ 1

Can I use transition/scale() for one direction only?

For instance, if I put a div in the center of my webpage, and use scale to increase its height, it grows from 2 directions, but is their a way to have scale only resize going downwards? I explained this horribly, I know lol

12th Apr 2019, 1:56 AM
Cheese Burger Joe
Cheese Burger Joe - avatar
1 ответ
+ 5
Set transform-origin: 50% 0%; Check this out: https://code.sololearn.com/W0saAuvF62EQ/?ref=app
12th Apr 2019, 4:21 AM
Calviղ
Calviղ - avatar