-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
61 lines (54 loc) · 855 Bytes
/
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #16161a;
height: 100vh;
width: 100vw;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-family: 'Ubuntu Mono', monospace;
}
main {
display: flex;
flex-direction: column;
gap: 10px;
}
.bg {
background-color: #16161a;
color: #fffffe;
width: 100%;
padding: 10px 30px;
border-radius: 4px;
border: 3px solid #7f5af0;
position: relative;
z-index: 1;
}
.bg:hover {
cursor: pointer;
}
.bg::before {
transition: 0.5s all ease;
position: absolute;
top: 0;
left: 50%;
right: 50%;
bottom: 0;
opacity: 0;
content: '';
background-color: #7f5af0;
}
.bg:hover::before {
transition: 0.5s all ease;
left: 0;
right: 0;
opacity: 1;
z-index: -1;
}
footer {
margin-top: 5%;
}