forked from HackWalls/HackWalls
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircular-menu.css
More file actions
79 lines (66 loc) · 1.31 KB
/
circular-menu.css
File metadata and controls
79 lines (66 loc) · 1.31 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
/* Demo by http://creative-punch.net */
@import "https://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css";
.circular-menu {
width: 250px;
height: 250px;
position: absolute;
}
.circle {
width: 250px;
height: 250px;
opacity: 0;
-webkit-transform: scale(0);
-moz-transform: scale(0);
transform: scale(0);
-webkit-transition: all 0.4s ease-out;
-moz-transition: all 0.4s ease-out;
transition: all 0.4s ease-out;
}
.open.circle {
opacity: 1;
-webkit-transform: scale(1);
-moz-transform: scale(1);
transform: scale(1);
}
.circle a {
text-decoration: none;
color: white;
display: block;
height: 60px;
width: 60px;
line-height: 60px;
margin-left: -30px;
margin-top: -30px;
position: absolute;
text-align: center;
border-radius: 50%;
background:white;
opacity: 0;
-webkit-transition: all 0.4s ease-in;
-moz-transition: all 0.4s ease-in;
transition: all 0.4s ease-in;
}
.circle a.delay-1 {
transition-delay: 0.025s;
}
.circle a.delay-2 {
transition-delay: 0.05s;
}
.circle a.delay-3 {
transition-delay: 0.1s;
}
.circle a.delay-4 {
transition-delay: 0.2s;
}
.circle a.delay-5 {
transition-delay: 0.3s;
}
.circle a.delay-6 {
transition-delay: 0.4s;
}
.open.circle a {
opacity: 1;
}
.circle a:hover, .circle a.active {
background-color: #eee;
}