_brand.css
1.17 KB
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
.brand-top-box {
width: 100%;
height: 468px;
color: $white;
background-color: $black;
position: relative;
.brand-bottom {
width: 100%;
position: absolute;
bottom: 20px;
.brand-title {
margin-left: 5%;
font-size: 32px;
}
hr {
width: 90%;
border: $white solid 1px;
border-top: none;
}
.brand-intro {
margin-left: 5%;
width: 90%;
height: 60px;
font-size: 16px;
line-height: 32px;
overflow : hidden;
text-overflow: ellipsis;
}
.line-clamp {
width: 82%;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
}
.expand {
width: 60px;
height: 60px;
background-color: $white;
position: absolute;
bottom: 20px;
right: 5%;
}
.collapse {
width: 60px;
height: 60px;
background-color: $black;
position: absolute;
bottom: 20px;
right: 5%;
display: none;
}
}