CSS3全屏图片视差滚动切换
1、新建html文档。

3、初始化css代码。<style>* { margin: 0; padding: 0 }body { text-align: center; width: 100%; }html { overflow-y: scroll }button { border: 0 }li { list-style: none }img { border: 0; }a { color: #06c; text-decoration: none; cursor: pointer; outline: none; hide-focus:expression(this.hideFocus = true);}a:hover { color: #06c; text-decoration: underline }.clear{content:"";display:block;visibility:hidden;height:0;clear:both;}.clear{zoom:1}</style>

5、代码整体结构。

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:75
阅读量:53
阅读量:75
阅读量:31
阅读量:82