A Pen by Ion Emil Negoita on CodePen.
Created
December 17, 2020 13:20
-
-
Save codingdudecom/17992091610d655badf07c955d8abfae to your computer and use it in GitHub Desktop.
Rotating Circle Text
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div>Made with the MockoFun <a href="https://medium.com/@codingdudecom/circle-text-2e7e5246cc94">circle text</a> generator</div> | |
<img style="--rotation-duration:10s;" src="https://i.imgur.com/zdPkiY2.png" alt="Circle Text" class="rotating-circle-text"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.rotating-circle-text{ | |
-webkit-animation: rotating var(--rotation-duration) linear infinite; | |
-moz-animation: rotating (--rotation-duration) linear infinite; | |
-ms-animation: rotating (--rotation-duration) linear infinite; | |
-o-animation: rotating (--rotation-duration) linear infinite; | |
animation: rotating (--rotation-duration) linear infinite; | |
} | |
@keyframes rotating { | |
from { | |
-ms-transform: rotate(0deg); | |
-moz-transform: rotate(0deg); | |
-webkit-transform: rotate(0deg); | |
-o-transform: rotate(0deg); | |
transform: rotate(0deg); | |
} | |
to { | |
-ms-transform: rotate(360deg); | |
-moz-transform: rotate(360deg); | |
-webkit-transform: rotate(360deg); | |
-o-transform: rotate(360deg); | |
transform: rotate(360deg); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment