Skip to content

Instantly share code, notes, and snippets.

@oflow
Last active December 26, 2017 04:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oflow/2091320b21a108ab01943019879e92c5 to your computer and use it in GitHub Desktop.
Save oflow/2091320b21a108ab01943019879e92c5 to your computer and use it in GitHub Desktop.
寿司、回る。
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>Rolling SUSHI</title>
<style type="text/css">
html,body { padding: 0; margin: 0; }
#sushi {
text-align: center;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
width: 15rem;
height: 15rem;
font-size: 15rem;
}
#sushi span {
display: inline-block;
animation: sushi 1s linear;
animation-iteration-count: infinite;
}
@keyframes sushi {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body>
<p id="sushi"><span>🍣</span></p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment