m-navigation.css
1.22 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#category{
padding: 50px 0;
}
#menu-box{
border-right:1px #ccc solid;
width: 168px;
position: relative;
}
#menu-box > li {
text-align: center;
padding-bottom: 10px;
}
#menu-box > li.current > a {
background: #f60;
color: #fff;
}
#menu-box > li > a {
display: inline-block;
*display: inline;
*zoom:1;
height: 32px;
line-height: 32px;
padding: 0 10px;
font-size: 14px;
font-family: "Microsoft YaHei";
color: #666;
}
.navigation{
position: absolute;
top: 0;
left: 168px;
width: 980px;
text-align: left;
min-height: 336px;
display: none;
padding-left: 50px;
border-left:1px #ccc solid;
}
#menu-box > li.current .navigation{
display: block;
}
.navigation dl{
border-bottom: 1px #ccc solid;
padding: 15px 0;
width: 560px;
position: relative;
z-index: 1;
}
.navigation dt{
float: left;
font-size: 14px;
font-family: "Microsoft YaHei";
}
.navigation dd{
overflow: hidden;
}
.navigation dd a{
display: inline-block;
*display: inline;
*zoom:1;
color: #666;
margin: 2px 10px;
}
.navigation dd a:hover{
color: #f60;
}
.navigation .bgimg{
position: absolute;
right: -10px;
bottom: -10px;
}
/*响应式*/
@media screen and (max-width: 1200px){
.navigation{
width: 775px;
}
.navigation .bgimg img{
width: 240px;
}
}