css3模仿新浪微博主登陆页

<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>css3模仿新浪微博主登陆页-css3实例站</title>
<meta name="viewport" content="width=device-width,minimum-scale=0.5,maximum-scale=0.5,user-scalable=no">
<meta name="viewport" content="target-densitydpi=device-dpi" />
<meta name="keywords" content="transform animation WEB编程 前端开发 CSS3培训 css3实例">
<meta name="description" content="对于设计人员和开发人员来说,CSS一直是web设计过程中重要的一部分,随着CSS3的出现以及越来越多的浏览器对它的支持,设计师们有了 更多的选择。用纯CSS也可以实现各种各样很酷的效果了,甚至是动画。虽然有些效果不能跨浏览器运行,有些只是展示并没什么实际用途,但仅用CSS实现出的这些效果似乎没什么可以挑剔的。..所以本站为css3爱好者提供css3实例!">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="expires" content="0">
<meta name="generator" content="Editplus ">
<meta name="author" content="Author:张会杰,QQ:871925574">
<meta name="robots" content="ALL">
<meta name="copyright" content="张会杰-css3实例站"> 
    <style type="text/css">
    *{margin:0;padding:0px;}
    body{background:#b1b1b1;font-family:Arial;font-size:14px;color:#202020;}
    li{list-style:none;border-bottom:1px #333333 dashed;padding:5px;}
    .tips{width:600px;margin:0 auto;line-height:24px;padding-top:10px;font-size:14px;}
    .bredcolor{color:#fff;}
    #sina_all{width:500px;height:300px;overflow:hidden;margin:0 auto;line-height:26px;}
    .idcontent_chang{-webkit-animation:idcontent_height .7s linear,idcontent_opacity .5s linear .7s;}
    @-webkit-keyframes idcontent_height{
        0%{height:0px;opacity:0;}
        100%{height:200px;height:52px;opacity:0;}
    }
    @-webkit-keyframes idcontent_opacity{
        0%{opacity:0;}
        100%{opacity:1;}
    }
    </style>
</head>
<body>
<section class="tips">
 由于工作原因,<a href="http://www.css3train.com/sinadesn.html">本站</a>只做safari实例。<br>
 <p class="bredcolor">css3小技巧:</p>
  这个案例其实最主要的是要把下面的数据移到上面,动画的变化过程是先变高在变透明度,这个先后顺序要用到animation的延时<br>
 qq群:197326136
</section>
<section id="sina_all">
        <ul id="idcontent">
            <li>1考试#根据《注册会计师法》规定:具有高等专科以上学校毕业学历、或者具有会计或者相国公民,可以申请参加注册会计师全国统一考试。</li>
            <li>2考试#根据《注册会计师法》规定:具有高等专科以上学校毕业学历、或者具有可以申请参加注册会计师全国统一考试。</li>
            <li>3考试#根据《注册会计师法》规定:具有高等专科以上学校毕业学历、或者具有计师全国统一考试。</li>
            <li>4考试#根据《注册会计师法》规定:具有高等专科以上学校毕业者相关专业中级以上技术职称的中国公民,可以申请参加注册会计师全国统一考试。</li>
            <li>5考试#根据《注册会计师法》规定:具有高等专科以上学校毕业学历、或者职称的中国公民,可以申请参加注册会计师全国统一考试。</li>
            <li>1考试#根据《注册会计师法》规定:具有高等专科以上学校毕业学历、或者具有会计或者相关专业中注册会计师全国统一考试。</li>
        </ul>
        
    </section>
    <script>
    function $(id){
        return typeof id === "string" ? document.getElementById(id) : id;
    }
    (function(){
        var aLi = $('idcontent').getElementsByTagName('li');
        setInterval(function(){
            var firstLi = aLi[aLi.length-1];
            $('idcontent').insertBefore(firstLi,aLi[0]);
            firstLi.className = 'idcontent_chang';
        },2000);
    })();
    </script>
</body>
</html>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值