-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
55 lines (54 loc) · 1.04 KB
/
index.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
.flex{
display: flex;
}
.image{
width: 110px;
height: 110px;
border-radius: 200px;
}
body{
background-color: azure;
}
.top{
background-color: #8EC5FC;
background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
text-align: center;
padding: 40px;
border-radius:50px;
}
.column {
flex-direction: column;
}
.mid{
padding: 40px;
border-radius: 50px;
text-align: center;
justify-content: center;
}
.box{
padding: 10px;
border-radius: 50px;
width: 111px;
height: 110px;
}
#QR{
background: url(image/QR.jpg) no-repeat 0px 0px;
width: 150px;
height: 150px;
position: absolute;
background-size: 150px;
/*可以覆盖在内容之上,因为采用absolute时,脱离文档流*/
z-index: 22;
border: 2px solid green;
display: none;
}
a:hover #QR
{
display: block;
}
.lower {
padding: 40px;
border-radius: 50px;
text-align: center;
justify-content: center;
}