Last active
December 10, 2015 04:01
-
-
Save srinath-imaginea/0c63d108e78922f6af9c to your computer and use it in GitHub Desktop.
KnownCircle pure CSS animated logo
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>KnownCircle logo</title> | |
<style> | |
.logo { | |
display: inline-block; | |
position: relative; | |
width: 36px; | |
height: 36px; | |
border-radius: 18px; | |
background-color: #F27052; | |
overflow: hidden; | |
opacity: 0.99; | |
} | |
.logo:before { | |
content: ''; | |
position: absolute; | |
width: 12px; | |
height: 12px; | |
background: #F27052; | |
border-radius: 12px; | |
top: 6px; | |
left: 6px; | |
border: 6px solid #2E3C51; | |
} | |
.logo:after { | |
content: ''; | |
display: inline-block; | |
position: absolute; | |
width: 24px; | |
height: 24px; | |
background: #F27052; | |
bottom: -6px; | |
right: -6px; | |
border-radius: 24px; | |
} | |
.logo.busy:after { | |
transform-origin: top left; | |
animation: rotate 1s linear infinite; | |
} | |
@keyframes rotate { | |
from { | |
transform: rotate(0deg) translate3d(0,0,0); | |
} | |
to { | |
transform: rotate(360deg) translate3d(0,0,0); | |
} | |
} | |
</style> | |
</head> | |
<body> | |
<span class='logo busy'></span> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment