Commit 8a4454e11e46b3eee1b5f704480e2f81a28445af
1 parent
05be633e
add dev 智联地锁
Showing
3 changed files
with
19 additions
and
1 deletions
contact.html
| ... | ... | @@ -129,6 +129,7 @@ |
| 129 | 129 | <div class="example-title text-center">企业荣誉</div> |
| 130 | 130 | <div class="example-subtitle text-center">打造创新型停车场 轻松停车</div> |
| 131 | 131 | <div class="box"> |
| 132 | + <span class="prev"></span> | |
| 132 | 133 | <dl id="roll"> |
| 133 | 134 | <dd><img src="images/cups-1.png" /></dd> |
| 134 | 135 | <dd><img src="images/cups-2.png" /></dd> |
| ... | ... | @@ -139,6 +140,7 @@ |
| 139 | 140 | <dd><img src="images/cups-7.png" /></dd> |
| 140 | 141 | <dd><img src="images/cups-8.png" /></dd> |
| 141 | 142 | </dl> |
| 143 | + <span class="next"></span> | |
| 142 | 144 | </div> |
| 143 | 145 | |
| 144 | 146 | </div> | ... | ... |
css/contact.css
| ... | ... | @@ -197,5 +197,21 @@ |
| 197 | 197 | width: 382px; |
| 198 | 198 | height: 260px; |
| 199 | 199 | float: left; |
| 200 | - margin-right: 20px; | |
| 200 | + margin-right: 27px; | |
| 201 | +} | |
| 202 | +.box span{ | |
| 203 | + position: absolute; | |
| 204 | + bottom:105px; | |
| 205 | + display: inline-block; | |
| 206 | + width: 50px; | |
| 207 | + height: 50px; | |
| 208 | + cursor: pointer; | |
| 209 | + background: url('../images/swiper-l-r.png') no-repeat; | |
| 210 | + /*background-size: 100% 100%;*/ | |
| 211 | + z-index: 90; | |
| 201 | 212 | } |
| 213 | + | |
| 214 | +.box .next{ | |
| 215 | + background-position: -60px 0px; | |
| 216 | + right: 0; | |
| 217 | +} | |
| 202 | 218 | \ No newline at end of file | ... | ... |
images/swiper-l-r.png
0 → 100644
1.95 KB