Commit 9725505e6cb2953aa0f5b6f38f3786f3979f22f0
1 parent
2459da42
add service swiper效果
Showing
1 changed file
with
129 additions
and
2 deletions
css/services.css
... | ... | @@ -56,11 +56,11 @@ |
56 | 56 | float: left; |
57 | 57 | } |
58 | 58 | .part3 .hd,.part5 .hd{width: 500px!important; margin-top: 50px; overflow: hidden;margin-left:500px; background: #fff; z-index: 1000;} |
59 | -.part .hd h2{width: 110px !important; cursor: pointer; float: left; font-size: 20px; padding-bottom: 15px; margin-bottom: 0; text-align: center;} | |
59 | +.part .hd h2{width: 110px; cursor: pointer; float: left; font-size: 20px; padding-bottom: 15px; margin-bottom: 0; text-align: center;} | |
60 | 60 | .part .hd h2.active-nav{ border-bottom: solid 3px #3F9FFE;color:#3F9FFE; } |
61 | 61 | .part .bd{width: 100%;float: left;} |
62 | 62 | .part .line { |
63 | - width: 90%; | |
63 | + width: 100%; | |
64 | 64 | /* margin: 0 auto; */ |
65 | 65 | height: 1px; |
66 | 66 | background: #818181; |
... | ... | @@ -148,6 +148,133 @@ |
148 | 148 | float: left; |
149 | 149 | /*overflow: hidden;*/ |
150 | 150 | } |
151 | +@media screen and (min-width: 1000px) and (max-width: 2500px){ | |
152 | +} | |
153 | + | |
154 | +@media screen and (min-width: 980px) and (max-width: 1000px){ | |
155 | + .part3 .bd .txt, .part5 .bd .txt { | |
156 | + margin-right: 0px; | |
157 | + } | |
158 | + | |
159 | +} | |
160 | + | |
161 | +@media screen and (min-width: 767px) and (max-width: 980px){ | |
162 | + .container{width: 100% !important} | |
163 | + .part{height: auto} | |
164 | + .part .con { | |
165 | + width: 100%; | |
166 | + margin-left: 0px; | |
167 | + margin-bottom: 50px; | |
168 | + } | |
169 | + .part .hd { | |
170 | + width:100%; | |
171 | + margin:20px auto 0; | |
172 | + text-align: center; | |
173 | + overflow: hidden; | |
174 | + } | |
175 | + .part .bd .p1 { | |
176 | + font-size:2.5rem; text-align: center; | |
177 | + | |
178 | + } | |
179 | + .part .bd .p2 { | |
180 | + font-size: 2.1rem; display: none | |
181 | + | |
182 | + } | |
183 | + .part .line{width: 100%;} | |
184 | + .part .hd h2 { | |
185 | + width: 80px; | |
186 | + float: none; display: inline-block; margin-left: -4px; | |
187 | + } | |
188 | + .part .bd .img { | |
189 | + font-size: 34px; | |
190 | + margin: 0 auto; float: none; | |
191 | + position: static; | |
192 | + | |
193 | + } | |
194 | + | |
195 | + | |
196 | + .part3 , .part4, .part5 { | |
197 | + height: 750px; | |
198 | + | |
199 | + } | |
200 | + .part .hd { | |
201 | + width: 100%; | |
202 | + margin: 30px auto 0; | |
203 | + | |
204 | + } | |
205 | + .part3 .bd .txt, .part5 .bd .txt { | |
206 | + float: none; | |
207 | + width: 100%; | |
208 | + margin:0 auto; | |
209 | + } | |
210 | + | |
211 | + .part4 .bd .txt { | |
212 | + float: none; | |
213 | + width: 100%; | |
214 | + margin-left: 0; | |
215 | + } | |
216 | + | |
217 | +} | |
218 | + | |
219 | +@media screen and (min-width: 320px) and (max-width: 767px){ | |
220 | + .container{ | |
221 | + width: 100% | |
222 | + } | |
223 | + .part{height: auto; width: 100%;} | |
224 | + .part .con { | |
225 | + width: 100%; | |
226 | + margin-left: 0px; | |
227 | + margin-bottom: 50px; | |
228 | + } | |
229 | + .part .hd { | |
230 | + width:100%; | |
231 | + margin:20px auto 0; | |
232 | + text-align: center; | |
233 | + overflow: hidden; | |
234 | + } | |
235 | + .part .bd .p1 { | |
236 | + font-size:2.5rem; text-align: center; | |
237 | + | |
238 | + } | |
239 | + .part .bd .p2 { | |
240 | + font-size: 2.1rem; display: none | |
241 | + | |
242 | + } | |
243 | + .part .line{width: 100%;} | |
244 | + .part .hd h2 { | |
245 | + width: 72px; | |
246 | + float: none; display: inline-block; margin-left: -4px; | |
247 | + } | |
248 | + .part .bd .img { | |
249 | + font-size: 34px; | |
250 | + margin: 0 auto; float: none; | |
251 | + position: static; | |
252 | + | |
253 | + } | |
254 | + | |
255 | + | |
256 | + .part3 , .part4, .part5 { | |
257 | + height: 750px; | |
258 | + width: 100%; | |
259 | + } | |
260 | + .part .hd { | |
261 | + width: 90% !important; | |
262 | + margin: 30px auto 0; | |
263 | + | |
264 | + } | |
265 | + .part3 .bd .txt, .part5 .bd .txt { | |
266 | + float: none; | |
267 | + width: 100%; | |
268 | + margin:0 auto; | |
269 | + } | |
270 | + | |
271 | + .part4 .bd .txt { | |
272 | + float: none; | |
273 | + width: 100%; | |
274 | + margin-left: 0; | |
275 | + } | |
276 | +} | |
277 | + | |
151 | 278 | |
152 | 279 | /*footer sta*/ |
153 | 280 | .services-foottit{ | ... | ... |