-
Notifications
You must be signed in to change notification settings - Fork 0
/
button.css
55 lines (52 loc) · 1.46 KB
/
button.css
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
.btn1{
/* align-items: center;
justify-content: center;
display: flex; */
position:absolute;
top:19%;
left:35%;
/* transform:translateX(-50%) translateY(-50%); */
font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
font-size: 18px;
font-weight: bold;
background: #0a6a1d;
width: 160px;
padding: 20px;
text-align: center;
text-transform: uppercase;
color:#fff;
border-radius: 5px;
cursor:pointer;
box-shadow: 0 0 20px rgba(0,0,0,0.1);
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
}
.btn1:hover, .btn1:focus, .btn1:active{
box-shadow: 0 0 20px rgba(0,0,0,0.5);
-webkit-transform: scale(0.0001);
transform:scale(1.1);
}
.btn2{
position:absolute;
top:19%;
left:53%;
/* transform:translateX(-50%) translateY(-50%); */
font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
font-size: 18px;
font-weight: bold;
background: #6fc380;
width: 160px;
padding: 20px;
text-align: center;
text-transform: uppercase;
color:#fff;
border-radius: 5px;
cursor:pointer;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
-webkit-transition-duration: 0.3s;
transition-duration: 0.3s;
}
.btn2:hover, .btn2:focus, .btn2:active{
box-shadow: 0 0 20px rgba(0,0,0,0.5);
-webkit-transform: scale(1.1);
transform:scale(1.1);}