-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathanimate.css
More file actions
51 lines (49 loc) · 1.29 KB
/
Copy pathanimate.css
File metadata and controls
51 lines (49 loc) · 1.29 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
@import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body,html{
height: 100%;
width: 100%;
}
body{
background: rgb(2,0,36);
background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(192,231,211,0.989233193277311) 0%, rgba(120,214,223,0.9640231092436975) 100%);
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
font-family: 'Caveat', cursive;
background: linear-gradient();
}
.btn{
display: inline-block;
font-size: 30px;
padding: 42px 39px;
border-radius: 50%;
background: rgb(0, 0, 0);
text-decoration: none;
color:rgb(255, 255, 255);
transition: 0.4s;
animation: pulse 2s linear infinite;
letter-spacing: 2px;
}
.btn:hover{
transform: scale(1.4);
}
@keyframes pulse {
0%{
box-shadow: 0 0 0 0px rgba(94, 159, 179, 0.6), 0 0 0 0 rgba(94, 159, 179, 0.6);
}
35%{
box-shadow: 0 0 0 50px rgba(94,159,179,0), 0 0 0 0px rgba(94, 159, 179, 0.6);
}
65%{
box-shadow: 0 0 0 50px rgba(94,159,179,0), 0 0 0 20px rgba(94,159,179,0);
}
100%{
box-shadow: 0 0 0 0px rgba(94, 159, 179, 0), 0 0 0 20px rgba(94,159,179,0);
}
}