Yek
KPCKevin Powell - Community
•Created by Yek on 9/12/2023 in #front-end
Keeping the height of the image while changing the height of the absolute container
Guys solved,
Thanks to @therealmarsman and X community friends.
Solution: Using clip-path, but remove Remove the border top and create the border with a separate div instead and add bottom:100% attr. and same transition values too.
Codepen : https://codepen.io/yekowele/pen/rNomqyK
10 replies
KPCKevin Powell - Community
•Created by Yek on 9/12/2023 in #front-end
Keeping the height of the image while changing the height of the absolute container
https://twitter.com/doganuraldesign/status/1701531737518485787
You can see the animation preview at this link
10 replies
KPCKevin Powell - Community
•Created by Yek on 9/12/2023 in #front-end
Keeping the height of the image while changing the height of the absolute container
I tried using clip-path, but I need to animate without losing the border at the top.
10 replies