-
-
Save swingley/4a2505e4d92b86be3466 to your computer and use it in GitHub Desktop.
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> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no"> | |
<title></title> | |
<style> | |
div { | |
position: absolute; | |
left: 50%; | |
margin-left: -25px; | |
margin-top: -25px; | |
top: 50%; | |
} | |
.move { | |
animation: spinning 1.5s ease-in-out infinite; | |
} | |
@keyframes spinning { | |
from { transform: rotate(0deg) } | |
to { transform: rotate(360deg) } | |
} | |
</style> | |
</head> | |
<body> | |
<div> | |
<svg width="50" height="50"> | |
<g transform="translate(25,25) rotate(-45)"> | |
<path class="move" d="M0,-25A25,25 0 0,1 25,0L20,0A20,20 0 0,0 0,-20Z" style="fill: rgb(85, 85, 85);"></path> | |
</g> | |
</svg> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment