手机
当前位置:查字典教程网 >网页设计 > Div+Css教程 >CSS3实现多背景展示效果通过CSS3定位多张背景
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>

【CSS3实现多背景展示效果通过CSS3定位多张背景】相关文章:

CSS如何让背景不能滚动

CSS命名规范和CSS书写规范

CSS制作11种风格不同的特效文字

CSS外框阴影效果

CSS控制背景图像平铺实现边框阴影效果

CSS3实现多背景展示效果通过CSS3定位多张背景

CSS中背景background-position负值定位深入理解

纯CSS结合DIV实现的右侧底部简洁悬浮效果

通过position定位实现div底端对齐

实现链接的虚线下划线效果

精品推荐
分类导航