Last active
September 9, 2015 09:38
-
-
Save hanfeisun/c48d1a3f4274e347557c to your computer and use it in GitHub Desktop.
Untitled
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
div.circle { | |
height: 134px; | |
width: 134px; | |
background-color: #000; | |
margin: 50vh auto 0; | |
transform: translateY(-50%); | |
border-radius: 50%; | |
animation-name: expand; | |
animation-duration: 2s; | |
animation-timing-function: ease-in; | |
animation-direction: alternate; | |
animation-iteration-count: infinite; | |
overflow: hidden; | |
} | |
div.hint { | |
position: absolute; | |
top: 80%; | |
left: 50%; | |
transform: translateX(-50%); | |
font-size: 35px; | |
font-family: "Hiragino Kaku Gothic StdN"; | |
text-align: center; | |
} | |
@keyframes expand { | |
from {height:134px; width: 134px;} | |
to {height:1000px; width:1000px;} | |
} |
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
<!-- content to be placed inside <body>…</body> --> | |
<div class="circle"></div> | |
<div class="hint">触摸画面正中的形状</div> |
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
// alert('Hello world!'); |
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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment