JoanaN 1 Posted July 4, 2019 Report Share Posted July 4, 2019 Hi, I have these comic PNG images and I want to animate them using CSS. I want to rotate any resize them; how can I do that? Do you have any other animation ideas that work well with comic style? Thank you! Quote Link to post Share on other sites
shaili_shah 1 Posted February 13, 2020 Report Share Posted February 13, 2020 There is Animation, Transition and Transform property of CSS. I have used transition and transform property on image like : <style> img { width: 100px; height: 100px; transition: width 2s, height 2s, transform 2s; } img : hover { width: 300px; height: 300px; transform: rotate(360deg); } </style> And Html tag : <body> <img src="~/img.png"/> </body> I hope you'll meet your desired output..! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.