CSS3实现多背景展示效果通过CSS3定位多张背景
摘要:css3实现多背景展示
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>css3实现多背景展示</title>
</head>
<body>
<div style="height:5400px;">
<div style="background:url(http://zcimg.zcool.com.cn/zcimg/m_fff653c539e10000015c06f796e0.jpg) no-repeat center center fixed;height:880px;margin-bottom:10px;"></div>
<div style="background:url(http://zcimg.zcool.com.cn/zcimg/m_dfff53c539e40000015c06f6ff04.jpg) no-repeat center center fixed;height:880px;margin-bottom:10px;"></div>
<div style="background:url(http://zcimg.zcool.com.cn/zcimg/m_0b3d53ce00b100000174d030a1fd.jpg) no-repeat center center fixed;height:880px;margin-bottom:10px;"></div>
<div style="background:url(http://zcimg.zcool.com.cn/zcimg/m_c24d53ce007300000174d0debb3e.jpg) no-repeat center center fixed;height:880px;margin-bottom:10px;"></div>
<div style="background:url(http://zcimg.zcool.com.cn/zcimg/m_606453ce006500000174d00396f9.jpg) no-repeat center center fixed;height:880px;margin-bottom:10px;"></div>
<div style="background:url(http://zcimg.zcool.com.cn/zcimg/m_71fe53ce005e00000174d0000ac0.jpg) no-repeat center center fixed;height:880px;margin-bottom:10px;"></div>
</div>
</body>
</html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>css3实现多背景展示</title>
</head>
<body>
<div style="height:5400px;">
<div style="background:url(http://zcimg.zcool.com.cn/zcimg/m_fff653c539e10000015c06f796e0.jpg) no-repeat center center fixed;height:880px;margin-bottom:10px;"></div>
<div style="background:url(http://zcimg.zcool.com.cn/zcimg/m_dfff53c539e40000015c06f6ff04.jpg) no-repeat center center fixed;height:880px;margin-bottom:10px;"></div>
<div style="background:url(http://zcimg.zcool.com.cn/zcimg/m_0b3d53ce00b100000174d030a1fd.jpg) no-repeat center center fixed;height:880px;margin-bottom:10px;"></div>
<div style="background:url(http://zcimg.zcool.com.cn/zcimg/m_c24d53ce007300000174d0debb3e.jpg) no-repeat center center fixed;height:880px;margin-bottom:10px;"></div>
<div style="background:url(http://zcimg.zcool.com.cn/zcimg/m_606453ce006500000174d00396f9.jpg) no-repeat center center fixed;height:880px;margin-bottom:10px;"></div>
<div style="background:url(http://zcimg.zcool.com.cn/zcimg/m_71fe53ce005e00000174d0000ac0.jpg) no-repeat center center fixed;height:880px;margin-bottom:10px;"></div>
</div>
</body>
</html>
【CSS3实现多背景展示效果通过CSS3定位多张背景】相关文章:
★ CSS中背景background-position负值定位深入理解
上一篇:
纯css实现的tab切换效果
相关阅读
网友关注
- 在Ubuntu 15.10系统上安装NVIDIA 358.16显卡驱动
- 如何安装CentOS 6.6 图文详解CentOS 6.6安装过程
- Linux oracle 9i图文安装教程五
- RedHat Linux5.5下Oracle 11g安装图解教程
- 通过U盘为Ubuntu更新GRUB恢复系统引导的教程
- 在Ubuntu系统中使用Git客户端来操作GitHub代码
- Linux服务器上使用Gmail的免费SMTP服务发送监控通知
- CentOS 6.3下安装部署CHEF环境教程
- Linux oracle 9i图文安装教程二
- centos安装ffmpeg添加ogg音频(ffmpeg音频编码)支持操作步骤
网友最新关注视频
- 苏科版数学八年级下册9.2《中心对称和中心对称图形》
- 外研版英语七年级下册module3 unit2第一课时
- 小学英语单词
- 化学九年级下册全册同步 人教版 第25集 生活中常见的盐(二)
- 二年级下册数学第三课 搭一搭⚖⚖
- 【部编】人教版语文七年级下册《泊秦淮》优质课教学视频+PPT课件+教案,湖北省
- 沪教版八年级下次数学练习册21.4(2)无理方程P19
- 第五单元 民族艺术的瑰宝_16. 形形色色的民族乐器_第一课时(岭南版六年级上册)_T3751175
- 外研版英语三起6年级下册(14版)Module3 Unit2
- 飞翔英语—冀教版(三起)英语三年级下册Lesson 2 Cats and Dogs
精品推荐
分类导航