-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
47 lines (44 loc) · 1.07 KB
/
styles.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
body {
font-family: sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: linear-gradient(to right, #010033, #5d00ff);
}
.container {
max-width: 600px;
margin: 0 auto;
background-color: rgba(255, 255, 255, 0.2);
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
border-radius: 10px;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
animation: neonGlow 1s infinite alternate;
}
@keyframes neonGlow{
from{
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}
to{
box-shadow: 0px 0px 20px #132ce6,
0px 0px 30px #401cce,
0px 0px 40px #4800ff;
}
}
button {
padding: 1.5rem, 1.5rem;
font-size: 1.5rem;
background-color: #6b3487;
color: #ffffff;
border: none;
border-radius: 1px;
cursor: pointer;
transition: background-color .1s ease-in-out;
box-shadow: 0 2px 0 0 rgba(134, 67, 215, 0.399);
}
button:hover {
background-color: #0056b3;
}