Example
A simple rotate property example:
Laboratory
description & Usage
To rotate an element by the user, we use the rotate property.
Browser compatibility and Support
# |
Chrome |
Edge |
Firefox |
Safari |
Opera |
rotate |
|
|
|
|
|
Values
Values |
Description |
axis
|
This value is optional.
|
angle
|
برای تعیین میزان چرخش استفاده می شود و مشخص می کند که درجه و دفعات دور زدن چقدر باشد.
|
vector angle
|
Three numbers specify the "vector" the element rotates around.
|
initial
|
Adds this value to its default property.
|
inherit
|
It inherits this value from its parent tag.
|