Cloudio Posted December 23, 2021 Share Posted December 23, 2021 Hi, i was trying to do some animation for my site. I'm using as reference this site https://www.amatisanabio.it/. I tried but i'm wondering how does the bottle change label like that looks quite hard to code.. See the Pen BawwOXO by Cloudio12 (@Cloudio12) on CodePen Link to comment Share on other sites More sharing options...
OSUblake Posted December 23, 2021 Share Posted December 23, 2021 Hi Cloudio, The best way to understand an effect on another site is to inspect the elements in your dev console. The images are using an SVG <clipPath> in the shape of the bottle. https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now