Converting Figma interaction to code

hello everyone i'm currently attempting to make this Figma animation with HTML & CSS (not sure this is the best approach but i've attached a gif below) this is what i have at the moment but i'm not even sure how to proceed - https://codepen.io/DayoAwobeku/pen/gOBVvxw any help will be appreciated. thank you 🙏🏽
2 Replies
Chris Bolson
Chris Bolson13mo ago
You might want to look in to using transform: rotate3d() for this
Dayo
Dayo13mo ago
okay will check that out. i have a slightly improved version though - https://codepen.io/DayoAwobeku/pen/XWxvEdr