CSS3实现多背景展示效果通过CSS3定位多张背景
发布时间:2015-05-12 来源:查字典编辑
摘要: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>
相关阅读
推荐文章
猜你喜欢
附近的人在看
推荐阅读
拓展阅读
- ■联想黄金斗士a8多少钱?黄金斗士a8报价/价格曝光
- ■锤子手机什么时候发货?锤子手机t1最迟8日发货绝不跳票
- ■富可视M512手机跑分是多少?富可视M512性能安兔兔跑分图介绍
- ■全球首款联想黄金斗士a8在哪买?联想黄金斗士a8预约购买网址详情介绍
- ■安卓tv模拟器怎么用?android tv模拟器使用视频教程
- ■三星Galaxy系列新机参数配置介绍 Galaxy系列4台新机是什么?
- ■小米3 surface更新怎么关闭?小米3显示surface更新关闭方法步骤
- ■索尼Z2开发人员选项怎么开启?
- ■黄金斗士a8预约官网 联想黄金斗士a8预约地址
- ■魅族mx4什么时候出 魅族mx4发布时间详情介绍
- ■三星N7100怎么限制后台进程?
- ■联想S810t手机怎么样?联想S810t真机精美图赏
- ■联想黄金斗士A8有电信版手机吗?黄金斗士A8支持4G网络吗?
- ■小米平板取消发货怎么回事?什么原因?小米平板取消发货为什么?
- ■小米3NFC是什么意思以及NFC功能怎么设置使用
- ■htc one时尚版art模式怎么打开?htc one时尚版开启art模式教程
- ■LG G3手机跑分是多少?LG G3安兔兔跑分成绩图公布
- ■三星N7100显示GPU过度渲染小心开启怎么办?如何关闭显示GPU过度渲染?
- ■联想黄金斗士a8什么时候开卖 黄金斗士a8开卖时间详情介绍
- ■三星GalaxyS5如何截图 三星S5截图方法
最新 Div+Css教程学习
热门 Div+Css教程学习
网页设计子分类