-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
90 lines (90 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
body {
margin-top: 100px;
}
.filter-item {
width: 54%;
min-width: 1100px;
margin: auto;
display: flex;
flex-wrap: wrap;
justify-content: center;
row-gap: 30px;
column-gap: 30px;
}
.filter-item-dog {
width: 31%;
position: relative;
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 30px;
text-decoration: none;
}
.item-dog-pic {
width: 100%;
margin-bottom: 50px;
display: flex;
flex-direction: column;
align-items: center;
position: relative;
}
.dog-pic-img {
width: 83%;
height: 255px;
border-radius: 61px;
overflow: hidden;
position: relative;
}
.dog-pic-img img {
width: 100%;
}
.dog-pic-dotted {
width: 100%;
transform: scaleY(0.98);
position: absolute;
top: -45px;
}
.dog-pic-dotted img {
width: 100%;
}
.item-dog-nickname {
display: flex;
justify-content: center;
align-items: center;
width: 160px;
height: 41px;
background-color: #f7f6f188;
border-radius: 154px;
position: absolute;
top: 45%;
transition: 0.3s;
}
.item-dog-nickname span {
font-size: 24px;
font-weight: bold;
letter-spacing: 5px;
color: #474143;
}
.item-dog-introduce {
font-size: 20px;
font-weight: bold;
text-align: center;
margin-bottom: 16px;
line-height: 30px;
color: #7a7677;
transition: 0.3s;
}
.filter-item-h2 {
display: block;
width: 122px;
height: 50px;
border-radius: 50px;
background-color: #3a3967;
font-size: 20px;
font-weight: bold;
color: #ffffff;
text-align: center;
box-sizing: border-box;
padding-top: 13px;
transition: 0.3s;
}