-
Notifications
You must be signed in to change notification settings - Fork 0
/
css-hanging-baskets.html
52 lines (47 loc) · 1.57 KB
/
css-hanging-baskets.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<META NAME="ROBOTS" CONTENT="NOINDEX, FOLLOW">
<title>Pure CSS hanging baskets demo</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<style type="text/css">
body{
padding:0;
margin:0;
}
.icon-basket{
font-size:36px;
color:black;
transform-origin:top;
animation: rotation 2s ease infinite;
}
@keyframes rotation {
0% {transform: rotate(-30deg);}
50% {transform: rotate(30deg);}
100% {transform: rotate(-30deg);}
}
</style>
</head>
<body>
<!-- Our Page Header -->
<header style="width:100%;background-color:#333;">
<div style="float:left;padding:15px;">
<a href="http://androidcss.com" title="androidcss" rel="home" style="font-size:24px;text-decoration:none;color:#FFF;"><span style="color:#690">Android</span><span style="color:#CCC">CSS</span></a>
</div>
<div style="float:right;padding:15px;">
<a href="http://androidcss.com/css/css-loading-animation-ecommerce/" style="color:#FFF;font-size:16px;">Tutorial</a>
</div>
<div style="clear:both;"></div>
</header>
<!-- Heading/Title -->
<h2 style="margin:15px;text-align:center;font-size:30px;">Pure CSS hanging baskets demo</h2>
<!-- Actual Demo code starts here -->
<div style="width:200px;margin:auto;margin-top:50px;">
<div class="fa fa-shopping-basket icon-basket"></div>
<div class="fa fa-shopping-basket icon-basket"></div>
<div class="fa fa-shopping-basket icon-basket"></div>
</div>
</body>
</html>