一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

javascript实现圣旨卷轴展开效果(代码分享)

时间:2017-07-20 编辑:简简单单 来源:一聚教程网

效果图:

代码如下:

 代码如下 复制代码
诏书body,ul,li,p,h1,h2,h3,h4,h5{ margin:0; padding:0; font-size:100%;}body{ font-family: 'Microsoft YaHei UI', 'Microsoft YaHei', SimSun, 'Segoe UI', Tahoma, Helvetica, Sans-Serif; font-size: 50px; background: #6f0b02;}img{ border:0;}.content{ position: relative; margin: 40px 0 0 -21px; width: 900px; height: 460px;}.l-pic-index{ position: absolute; left: 400px; top: 1px; z-index:2; width:50px; height:460px; background: url("images/11.png") no-repeat right 0;}.r-pic-index{ position: absolute; right: 400px; top: 0; z-index: 2; width:50px; *width:82px; height:460px; background: url("images/11.png") no-repeat left 0;}.l-bg-index{ position: absolute; top: 20px;/*中间转轴位置*/ left: 430px; z-index: 1; width: 25px; height: 459px; background: url("images/bg1.png") right 0 no-repeat;}.r-bg-index{ position: absolute; top: 20px; right: 430px; z-index: 1; width: 25px; height: 459px; background: url("images/bg1.png") 0 0 no-repeat;}.main-index{ display: none; overflow: hidden; zoom:1; position: absolute; z-index: 5; width:700px; height:280px; left:90px; top:90px; color: #2e2e2e;}.intro-text{ margin: 10px 0 0 44px; line-height: 2; text-indent: 3px;}                        奉天承运皇帝诏曰:下班没?     

   


热门栏目