-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
70 lines (70 loc) · 1.54 KB
/
style.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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
*{
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
}
.container{
background-color: rgb(22, 2, 44);
height: 100vh;
width: 100%;
text-align: center;
position: absolute;
}
.wrapper{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.wrapper p{
position: relative;
display: inline-block;
color: white;
z-index: 9999;
font-size: 48px;
margin-bottom: 200px;
}
.wrapper p::before{
content: '';
position: absolute;
width: 250px;
height: 250px;
background-color:rgb(22, 4, 41);
z-index: -1;
border-radius: 50%;
left: -6%;
top: -125%;
animation-name: shine;
animation-duration: 3s;
animation-iteration-count: infinite;
}
@keyframes shine{
0%,100%{
box-shadow: 0px 0px 100px -20px rgba(116, 233, 206, 0.5);
}
25%{
box-shadow: 0px 0px 35px 3px rgba(119, 245, 215, 0.5);
}
50%{
box-shadow: 0px 0px 70px 3px rgba(119, 245, 215, 0.5);
}
75%{
box-shadow: 0px 0px 35px 3px rgba(148, 241, 220, 0.5);
}
}
button{
background-color: rgb(22, 4, 41);
padding: 10px 38px;
border: 1px solid rgb(240, 240, 235);
border-radius: 30px;
color: white;
transition: all .2s ease;
outline: 0;
margin-right: 20px;
}
button:hover, button:focus{
border-color: rgba(119, 245, 215);
color: rgba(119, 245, 215);
box-shadow: 0px 4px 27px -12px rgba(119, 245, 215);
}