微信号:html5_2015

介绍:根据最新移动互联网市场统计,Android、苹果iOS和微软Windows Phone 8是三大主流移动操作系统;使用HTML5就可实现“一次编写,随处部署”——HTMl5可以在浏览器、手机、平板电脑上运行.

广告左右滚动

2015-12-11 11:53 html5实战

 提示点击上方"微推宝微信"免费订阅本刊


我的观点

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">   

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>金证资讯-首页</title>

<!--<link type="text/css" rel="stylesheet" href="css/style.css" />-->

<style>

*{margin:0;padding:0;}

li{list-style:none;}

a{text-decoration:none;}

input{outline:none;}

img,div,input{border:0 none;}

.clear{clear:both;}



/* banner-box */

.banner{ width:100%; height:300px; overflow:hidden; position:relative;margin-top:15px;}

.banner .formBOx{width:1180px;position:absolute;top:0px;left:50%;margin-left:-590px;}

.banner .formBOx .form_bg{width:260px;height:260px;background:#091223; opacity:0.5;position:absolute;top:23px;right:0;}

.banner .formBOx .form{width:260px;height:260px;position:absolute;top:23px;*top:16px;right:0;padding-top:25px;padding-bottom:10px;padding-left:20px;}

.banner .formBOx .form p{margin-bottom:10px; text-align:center;}

.banner .formBOx  p.reg{color:#fff;font:12px 微软雅黑;margin-top:10px;}

.banner .formBOx  p.reg a{color:#fff;}

.banner .formBOx  p.reg a:hover{color:#f00;}

.banner .formBOx .form p .phone{width:215px;background:#fff;height:39px;color:#9a9a9a;font:14px/39px 微软雅黑;padding-left:10px;}

.banner .formBOx .form p .yz{width:215px;height:39px;color:#b3b3b3;font:14px/39px 微软雅黑;padding-left:10px;background:#fff;}

.banner .formBOx .form p .hq{width:83px;height:41px;background:#ccc;border:0 none;margin-left:7px; cursor:pointer;color:#666;font:12px/41px 微软雅黑; text-align:center;}

.banner .formBOx .form p .registered{background:#d81415;color:#fff;width:225px;border:0 none;text-align:center;font:16px/33px 微软雅黑; cursor:pointer;margin-bottom:3px;}

.banner .formBOx .form p.zc{margin-bottom:0;}

.banner .formBOx .form p .login{background:#f4a000;color:#fff;width:225px;border:0 none;text-align:center;font:16px/33px 微软雅黑; cursor:pointer;}

.banner .formBOx .form p.reg{ text-align:left;margin-left:20px;}

.banner .formBOx .form div{height:55px; position:relative;pading-bottom:10px;}

.banner .formBOx .form a.zxL,.banner .formBOx .form a.zcR{width:105px;height:53px; background: url(img/zx_bg_03.png) repeat-x; display:block;border:solid 1px #999; position: absolute; bottom:0;left:17px; cursor:pointer;}

.banner .formBOx .form a.zxL b,.banner .formBOx .form a.zcR b{display:block;background:url(img/for_bg_1.png) no-repeat;width:60px;height:53px;}

.banner .formBOx .form a.zxL span,.banner .formBOx .form a.zcR span{display:inline-block;width:40px; position:absolute;top:6px;left:60px;color:#f39700;font:14px 微软雅黑;}

.banner .formBOx .form a.zcR{left:136px;bottom:0;}

.banner .formBOx .form a.zcR b{display:block;background:url(img/for_bg_2.png) no-repeat;width:60px;height:53px;}

.banner .formBOx .form  div a.zxL:hover span,.banner .formBOx .form  div a.zcR:hover span{color:#f00;}

.banner .formBOx .form  div a.zxL:hover b{ background:url(img/form_bg_01.png) no-repeat;}

.banner .formBOx .form  div a.zcR:hover b{ background:url(img/form_bg_02.png) no-repeat;}


.banner .hd{ height:15px; overflow:hidden; position:absolute;left:50%; bottom:5px; z-index:1;width:100%;margin-left:-8%;}

.banner .hd ul{ overflow:hidden; zoom:1; display:block;}

.banner .hd ul li{ float:left; margin-right:26px;  width:14px; height:14px; line-height:14px;  background:#fff; cursor:pointer; border-radius:50%;color:#fff;font:12px 微软雅黑; overflow:hidden;}

.banner .hd ul li.on{ background:#fe0000; color:#fe0000;}

.banner .bd{ position:relative; height:100%;}

.banner .bd li{width:100%;height:300px;}

.banner .bd img{ width:100%; height:300px; display:block;}


.banner  .prev,

.banner  .next{margin-top:-45px; display:block; width:89px; height:89px;filter:alpha(opacity=80);opacity:0.8; z-index:9999; position:absolute;}

.banner  .prev{top:50%;left:5%;background:url(img/btn_left.png) no-repeat;}

.banner  .next{top:50%;right:5%;background: url(img/btn_right.png) no-repeat;}

.banner .prev:hover,

.banner .next:hover{filter:alpha(opacity=100);opacity:1;}


.banner-box .hd {position:absolute;bottom:0;left:0;width:100%;height:20px;background:#fff; z-index:999;}

.banner-box .hd ul{padding-left:50%;margin-left:-75px;}

.banner-box .hd ul li{width:43px;height:5px;text-indent:-9999px;margin-right:10px;margin-top:4px;background: url(../img/btn-dq.jpg) no-repeat 0 0;float:left;cursor:pointer;}

.banner-box .hd ul li.on{background: url(img/btn-jg.jpg) no-repeat;}


</style>

</head>

   

<body id="top">


<div id="banner" class="banner">

    <div class="hd">

        <ul><li></li><li></li><li></li><li></li><li></li><li></li></ul>

    </div>

    <div class="bd">

        <ul>

            <li><a href="#" target="_blank"><img src="pic/banner1.jpg" width="100%" height="300"/></a></li>

            <li><a href="#" target="_blank"><img src="pic/banner2.jpg" width="100%" height="300" /></a></li>

            <li><a href="#" target="_blank"><img src="pic/banner3.jpg" width="100%" height="300" /></a></li>

            <li><a href="#" target="_blank"><img src="pic/banner4.jpg" width="100%" height="300" /></a></li>

            <li><a href="#" target="_blank"><img src="pic/banner5.jpg" width="100%" height="300" /></a></li>

            <li><a href="#" target="_blank"><img src="pic/banner3.jpg" width="100%" height="300" /></a></li>

        </ul>

    </div>

    <a class="prev" href="javascript:void(0)"></a>

    <a class="next" href="javascript:void(0)"></a>

     <div class="formBOx">

      <div class="form_bg"></div>

      <div class="form">

            <form method="post" action="#" target="_self">

                <p><input class="phone" type="text" placeholder="账号"/></p>

                    <p><input class="yz" type="password" placeholder="密码"/></p>

                    <p><input class="login" type="button" value="登录"/></p> 

                </form>

                <p class="reg"><a href="http://www.qmtzw.com/zsz.php">忘记密码?</a></p>

                <div>

                <a class="zxL" href="#" target="_blank"><b></b><span>在线咨询</span></a><a class="zcR" href="#" target="_blank"><b></b><span>立即注册</span></a>

                </div>

            </div>

     </div>

</div>




<script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>

<script type="text/javascript" src="js/jquery.SuperSlide.2.1.1.js"></script>

<script type="text/javascript">

jQuery(".banner").slide({titCell:".hd ul",mainCell:".bd ul",autoPage:true,effect:"left",autoPlay:true,scroll:1,vis:1,interTime:3000});

</script>

</body>

</html>

                       

                       

 
html5实战 更多文章 HTML 5 视频/音频 php代码写法 HTML5 拖放实例 HTML 5 Canvas HTML5 地理定位
猜您喜欢 使用Google官方support-annotation利器 解决Android Studio导入项目在Building gradle project info一直卡住 MoboMarket流量性能提升测试分析 阿里巴巴CTO张建锋:阿里是世界领先的大数据公司 Ruby 中的多进程与多线程