_break-code.css
1003 Bytes
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
.break-code-page {
overflow: hidden;
margin: 0 auto;
max-width: 640px;
.sub-size {
width: 100%;
height: 50px;
overflow: hidden;
}
.size-area {
display: none;
box-sizing: border-box;
padding: 0 22px;
width: 100%;
height: 70px; /**父元素hidden 隐藏滚动条**/
border-bottom: 1px solid #e6e6e6;
background: #f0f0f0;
color: #999;
font-size: 28px;
line-height: 50px;
white-space: nowrap;
overflow-x: scroll;
li {
display: inline-block;
padding: 0 22px;
width: auto;
&.active {
color: #000;
}
}
}
#list-nav > li {
width: 20%;
font-size: 28px;
a {
display: block;
margin: 0 auto;
width: 106px;
}
}
.banner-swiper ul li img {
width: 100%;
height: 240px;
}
}