-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
116 lines (102 loc) · 1.74 KB
/
style.css
File metadata and controls
116 lines (102 loc) · 1.74 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
* {
margin: 0;
padding: 0;
font-family: lato, sans-serif;
}
header {
position: fixed;
width: 100%;
height: 100%;
background-color: #16a085;
top: 0;
left: 0;
text-align: center;
}
header a {
text-decoration: none;
color: #fff;
display: inline-block;
padding: 15px 20px;
margin: 15px 30px;
border: 1px solid #fff;
border-radius: 5px;
}
header a:hover {
background-color: #fff;
color: #777;
box-shadow: 0 3px 3px #777;
}
.btn-1 {
transition: .5s;
}
@keyframes btn2 {
0% {
transform: rotate(0);
}
25% {
transform: rotate(10deg);
}
50% {
transform: rotate(0);
}
75% {
transform: rotate(-10deg);
}
100% {
transform: rotate(0);
}
}
.btn-2 {
transition: .5s;
}
.btn-2:hover {
animation-name: btn2;
animation-delay: .5s;
animation-duration: .5s;
animation-timing-function: linear;
animation-iteration-count: 1;
}
@keyframes btn3 {
0% {
transform: rotatex(0);
}
50% {
transform: rotatex(180deg);
}
100% {
transform: rotatex(0);
}
}
.btn-3 {
transition: .5s;
}
.btn-3:hover {
animation-name: btn3;
animation-delay: .5s;
animation-duration: .5s;
animation-timing-function: linear;
animation-iteration-count: 1;
}
.btn {
font-family: arial;
font-size: 14px;
font-weight: 700;
border: none;
padding: 10px;
}
.btn-green {
background: green;
color: #fff;
box-shadow: 0 5px 0 #006000;
border-radius: 5px;
}
.btn-green:hover {
background: #006000;
color: #fff;
box-shadow: 0 5px 0 #003f00;
}
.btn-green:active {
position: relative;
top: 5px;
box-shadow: none;
}