摘要: <a href="" class="a1">商家入口</a> .a1{ background-color: orange; display: inline-block; width: 100px; height: 35px; text-align: center; text-decoration: 阅读全文
posted @ 2018-09-09 11:32 野望之风 阅读(370) 评论(0) 推荐(0)
摘要: <div class="ddiv" style=""> //这里的图片是一个圆圈 <img class='dimg' src="video_c.png" alt=""> </div> .dimg{ //infinite 无限循环 linear 匀速运动 animation:2s animation1 阅读全文
posted @ 2018-09-09 10:59 野望之风 阅读(1414) 评论(0) 推荐(0)
摘要: HTML部分: <section class="g-img1">IMG1</section><section class="g-img2">IMG2</section> CSS部分主要通过background-attachment: fixed;来实现视差滚动,根据实际需求设置相应的背景大小,这里用 阅读全文
posted @ 2018-09-09 10:45 野望之风 阅读(378) 评论(0) 推荐(0)