The CSS animations help us to animate our website to make it look professional. Nowadays, the animation becomes latest trend in web design that helps satisfy our client needs. The designers are also getting extraordinarily creative and using in CSS animations to bring personality to their sites.
In this article, I have described some of the CSS animations to help designers use this animations to their websites based on their requirements. In case, If you like to learn more CSS animations on any specific topics, you can write in a comment section below. I will definitely write an article about that topics, it may help you in any situations.
CSS Rotating Circle Animation
CSS Rotating Circle Animation |
The CSS Rotating Circle Animations that feature on Circle shape that rotate from 0deg to 360deg on page load. The center circle will not move only the remaining circle animated using rotate property.
In this example we have created the key frames to animate circle from 0deg to 360deg rotation with animation delay as well.
In order to create animations, we have to create center circle as button element and the remaining outer circle as the list of child elements like the below example.
In this example we have created the key frames to animate circle from 0deg to 360deg rotation with animation delay as well.
In order to create animations, we have to create center circle as button element and the remaining outer circle as the list of child elements like the below example.
<ul>
<li style="transform: rotate(0deg);">
<input class="c1" type="checkbox">
<label class="circle show-1" for="c1" style="transform: rotate(0deg);">
<span> A
</span>
</label></li>
<li style="transform: rotate(60deg);">
<input class="c2" type="checkbox">
<label class="circle show-2" for="c2" style="transform: rotate(-60deg);">
<span>
B
</span>
</label></li>
<li style="transform: rotate(120deg);">
<input class="c3" type="checkbox">
<label class="circle show-3" for="c3" style="transform: rotate(-120deg);">
<span>
C
</span>
</label></li>
<li style="transform: rotate(180deg);">
<input class="c4" type="checkbox">
<label class="circle show-4" for="c4" style="transform: rotate(-180deg);">
<span>
D
</span>
</label></li>
<li style="transform: rotate(240deg);">
<input class="c5" type="checkbox">
<label class="circle show-5" for="c5" style="transform: rotate(-240deg);">
<span>
E
</span>
</label></li>
<li style="transform: rotate(300deg);">
<input class="c6" type="checkbox">
<label class="circle show-6" for="c6" style="transform: rotate(-300deg);">
<span>
F
</span>
</label></li>
</ul>
<li style="transform: rotate(0deg);">
<input class="c1" type="checkbox">
<label class="circle show-1" for="c1" style="transform: rotate(0deg);">
<span> A
</span>
</label></li>
<li style="transform: rotate(60deg);">
<input class="c2" type="checkbox">
<label class="circle show-2" for="c2" style="transform: rotate(-60deg);">
<span>
B
</span>
</label></li>
<li style="transform: rotate(120deg);">
<input class="c3" type="checkbox">
<label class="circle show-3" for="c3" style="transform: rotate(-120deg);">
<span>
C
</span>
</label></li>
<li style="transform: rotate(180deg);">
<input class="c4" type="checkbox">
<label class="circle show-4" for="c4" style="transform: rotate(-180deg);">
<span>
D
</span>
</label></li>
<li style="transform: rotate(240deg);">
<input class="c5" type="checkbox">
<label class="circle show-5" for="c5" style="transform: rotate(-240deg);">
<span>
E
</span>
</label></li>
<li style="transform: rotate(300deg);">
<input class="c6" type="checkbox">
<label class="circle show-6" for="c6" style="transform: rotate(-300deg);">
<span>
F
</span>
</label></li>
</ul>
CSS Text Animation
The CSS Text Animation is a wonderful way of applying different animations in text to improve website quality using CSS properties like color, font-size, text-transform, font-family, font-weight, transition etc...
Comments