Skip to content

Commit 6d92dc3

Browse files
authored
Create iframe-spinning-cube.html
0 parents  commit 6d92dc3

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

iframe-spinning-cube.html

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<style>
2+
* {
3+
margin: 0;
4+
padding: 0;
5+
}
6+
7+
.wrapper {
8+
position: absolute;
9+
width: 100%;
10+
height: 100%;
11+
}
12+
13+
.testAnimation {
14+
position: absolute;
15+
left: 100px;
16+
top: 100px;
17+
width: 100px;
18+
height: 100px;
19+
background: #00cc66;
20+
animation: rotating 3s linear infinite;
21+
}
22+
23+
@keyframes rotating {
24+
from { transform: rotate(0deg); }
25+
to { transform: rotate(360deg); }
26+
}
27+
</style>
28+
29+
<div class="wrapper">
30+
<div class="testAnimation"></div>
31+
</div>

0 commit comments

Comments
 (0)