DEV Community

Cover image for Rotation in CSS animation โŒš
๐Ÿšฉ Atul Prajapati ๐Ÿ‡ฎ๐Ÿ‡ณ
๐Ÿšฉ Atul Prajapati ๐Ÿ‡ฎ๐Ÿ‡ณ

Posted on • Updated on

Rotation in CSS animation โŒš

Hello dear folks,

This post is our "20 day CSS animation post"

In this post, we are going to learn about the CSS rotate property.

This property is so useful like we can use this to rotate anything at desired degree. Yes, we have to use deg value in rotate property eg. 45deg, 90deg or 180deg and so on.

Syntax

  • transform: rotate(90deg);

See the live example and don't forget to play around with it.

And if you guys interested in my free website templates please download them here ๐Ÿ‘‰AtulCodex Marketplace ๐Ÿช.

Top comments (2)

Collapse
 
atulcodex profile image
๐Ÿšฉ Atul Prajapati ๐Ÿ‡ฎ๐Ÿ‡ณ

Thanks :)