-
Notifications
You must be signed in to change notification settings - Fork 0
/
Swiping.css
79 lines (76 loc) · 1.6 KB
/
Swiping.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
body {
background-image: url("https://i.ytimg.com/vi/cEPgC1c1y_Q/maxresdefault.jpg");
}
h1 {
font-family: 'Amatic SC', cursive;
font-size: 100px;
color: rgb(255, 255, 255);
background-color: rgba(1, 1, 17, 0.722);
}
.button1{
display: inline-block;
margin-top: 70px;
margin-right: 90px;
margin-left: 0px;
background-color: rgba(1, 1, 17, 0.822);
border-style: solid;
border-radius: 10px;
color: white;
padding: 5px 20px;
text-align: center;
text-decoration: none;
font-size: 60px;
font-family: 'Amatic SC', cursive;
}
.button2{
display: inline-block;
margin-top: 70px;
margin-left: 100px;
margin-right: 90px;
background-color: rgba(1, 1, 17, 0.822);
border-style: solid;
border-radius: 10px;
color: white;
padding: 5px 20px;
text-align: center;
text-decoration: none;
font-size: 60px;
font-family: 'Amatic SC', cursive;
}
.btn-hov {
color: #FFF;
transition: all 0.5s;
position: relative;
}
.btn-hov::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
background-color: rgba(20, 16, 10, 0.5);
transition: all 0.3s;
}
.btn-hov:hover::before {
opacity: 0 ;
transform: scale(0.5,0.5);
}
.btn-hov::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
opacity: 0;
transition: all 0.3s;
border: 1px solid rgba(173, 12, 125, 0.5);
transform: scale(1.2,1.2);
}
.btn-hov:hover::after {
opacity: 0;
transform: scale(1,1);
}