A Pen by Frankie Winters on CodePen.
Created
May 4, 2021 00:01
-
-
Save frankew/7d209cc3cd2876e36c3a43882fd3df23 to your computer and use it in GitHub Desktop.
ExZqqaP
This file contains 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
<img id="colors" src="https://frankie.winters.design/wp-content/uploads/sites/14/2021/05/Oval.png"> | |
<img id="mask" src="https://frankie.winters.design/wp-content/uploads/sites/14/2021/05/Whorl-Mask.png"> |
This file contains 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
#colors { | |
animation: rotation 20s; | |
animation-iteration-count: infinite; | |
animation-timing-function: linear; | |
width: 500px; | |
} | |
#mask { | |
position: absolute; | |
left: 0; | |
width: 560px; | |
} | |
@keyframes rotation { | |
from { | |
transform: rotate(0deg); | |
} | |
to { | |
transform: rotate(359deg); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment