-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
69 lines (60 loc) · 969 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
62
63
64
65
66
67
68
69
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
font-family: Arial, sans-serif;
background-color: #f2f2f2;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 100vh;
}
main{
background-color: #fff;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
padding: 30px;
width: 100%;
max-width: 400px;
text-align: center;
}
h1{
margin-bottom: 5px;
}
img{
width: 50%;
height: auto;
}
a{
position: relative;
text-decoration: none;
z-index: 1;
text-align: center;
}
p{
font-weight: bold;
}
p span{
font-weight: normal;
}
/* a:hover{
color: #fff;
} */
a::before{
content:'';
width: 0;
background-color: #000;
height: 2px;
bottom: 0;
position: absolute;
left: 0;
transition: width 0.3s ease-in-out;
z-index: -1;
}
a:hover::before{
width: 100%;
right: 0;
}