ihover.css
4.51 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
.detectype h2, .service h2{
text-align: center;
font-weight: 400;
color: #433e51;
font-size: 45px;
padding: 0;
margin: 50px 0;
}
.detectype .detectrange{
float: left;
min-height: 1px;
position: relative;
cursor: pointer;
width: 22.75%;
margin-right: 3%;
overflow: hidden;
}
.detectype .detectrange.mb{
margin-bottom: 50px;
}
.detectype .detectrange .mask{
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
text-align: center;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.detectype .detectrange.l{
margin-right: 0;
}
.detectype .detectrange .detecticon{
height: 150px;
}
.detectype .detectrange .detectfood{
background: url(/images/jcrange/nongchanpin.jpg);
}
.detectype .detectrange .detectmeat{
background: url(/images/jcrange/rouzhipin.jpg);
}
.detectype .detectrange .detectfire{
background: url(/images/jcrange/xiaofangjiance.jpg);
}
.detectype .detectrange .detectmilieu{
background: url(/images/jcrange/huanjing.jpg);
}
.detectype .detectrange .detectfeiliao{
background: url(/images/jcrange/fljc.jpg);
}
.detectype .detectrange .detectsiliao{
background: url(/images/jcrange/sljc.jpg);
}
.detectype .detectrange .detectshuichan{
background: url(/images/jcrange/scjc.jpg);
}
.detectype .detectrange .detectshipin{
background: url(/images/jcrange/spjc.jpg?v=2);
}
.detectype .detectrange .detecttext{
padding: 15px 10px;
height: 80px;
border: 1px solid #ccc;
border-top: 0;
}
.detectype .detectrange .detecttext h5{
margin: 0 0 10px;
font-size: 18px;
font-weight: 400;
color: #433e51;
}
.detectype .detectrange .detecttext p{
line-height: 1.6em;
font-size: 14px;
margin: 0 0 10px;
color: #7b7b7b;
}
.detectype .detectrange .mask {
background: #1a4a72;
background: rgba(26, 74, 114, 0.6);
visibility: hidden;
opacity: 0;
-webkit-transition: all 0.35s ease-in;
-moz-transition: all 0.35s ease-in;
transition: all 0.35s ease-in;
}
.detectype .detectrange .mask a{
color: #fff;
}
.detectype .detectrange .mask h3 {
text-transform: uppercase;
color: #fff;
text-align: center;
font-size: 17px;
padding: 10px;
background: #111111;
background: rgba(12, 34, 52, 0.6);
margin: 30px 0 0 0;
-webkit-transition: all 0.35s ease-in;
-moz-transition: all 0.35s ease-in;
transition: all 0.35s ease-in;
}
.detectype .detectrange .mask p {
font-size: 12px;
position: relative;
color: #bbb;
padding: 20px 20px 20px;
text-align: center;
-webkit-transition: all 0.35s ease-in;
-moz-transition: all 0.35s ease-in;
transition: all 0.35s ease-in;
}
.detectype .detectrange:hover .mask {
visibility: visible;
opacity: 1;
-webkit-transition-delay: 0.2s;
-moz-transition-delay: 0.2s;
transition-delay: 0.2s;
}
.detectype .detectrange:hover .mask h3 {
-webkit-transition-delay: 0.3s;
-moz-transition-delay: 0.3s;
transition-delay: 0.3s;
}
.detectype .detectrange:hover .mask p {
-webkit-transition-delay: 0.25s;
-moz-transition-delay: 0.25s;
transition-delay: 0.25s;
}
.detectype .detectrange .mask {
-webkit-transform: translate(-460px, -100px) rotate(-180deg);
-moz-transform: translate(-460px, -100px) rotate(-180deg);
-ms-transform: translate(-460px, -100px) rotate(-180deg);
-o-transform: translate(-460px, -100px) rotate(-180deg);
transform: translate(-460px, -100px) rotate(-180deg);
}
.detectype .detectrange .mask h3 {
-webkit-transform: translateY(-100px);
-moz-transform: translateY(-100px);
-ms-transform: translateY(-100px);
-o-transform: translateY(-100px);
transform: translateY(-100px);
}
.detectype .detectrange .mask p {
-webkit-transform: translateX(-300px) rotate(-90deg);
-moz-transform: translateX(-300px) rotate(-90deg);
-ms-transform: translateX(-300px) rotate(-90deg);
-o-transform: translateX(-300px) rotate(-90deg);
transform: translateX(-300px) rotate(-90deg);
}
.detectype .detectrange:hover .mask {
-webkit-transform: translate(0px, 0px);
-moz-transform: translate(0px, 0px);
-ms-transform: translate(0px, 0px);
-o-transform: translate(0px, 0px);
transform: translate(0px, 0px);
}
.detectype .detectrange:hover .mask h3 {
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px);
}
.detectype .detectrange:hover .mask p {
-webkit-transform: translateX(0px) rotate(0deg);
-moz-transform: translateX(0px) rotate(0deg);
-ms-transform: translateX(0px) rotate(0deg);
-o-transform: translateX(0px) rotate(0deg);
transform: translateX(0px) rotate(0deg);
}