angular练习

  
 <!DOCTYPE html>
 <html>
 <head>
 <meta charset="utf-8" />
 <style type="text/css">
 ul, li{display:block; position:relative;}
  
 li{float:left; margin:auto 6px; list-style:none; height:10px; line-height:10px;}
  
 .cle{clear:both;}
 li{
 background:aliceblue; no-repeat ;
 padding-left:2px;
 }
  
 /**
 * animation: abc3 3s ease; 同等效果
 */
 #img3:hover{
 animation-name: abc3;
 animation-duration: 3s;
 animation-timing-function: ease;
 }
 #a:hover{
 transform: rotate(360deg);
 }
 #img2:hover{
 transform: scale(1.5,1.5);
 }
 ul:hover{
 background-color: red;
 }
 ul li:hover{
  
 color: yellow;
 transform: scale(1.2,1.2);
 }
 /**
 * 定义动画
 */
 @keyframes abc1{
 from{width: 50px;height: 50px;background-color: red;}
 to{width: 100px;height: 100px;background-color: blue;}
 }
 /**
 * opacity表示透明度
 */
 @keyframes abc2{
 from{
 opacity: 1;
 background-color: red;
  
 }
 to{
 opacity: 0.5;
 background-color: blue;
 transform: rotate(360deg) translate(200px,200px) scale(2,2) skew(30deg,30deg);
 }
 }
  
 @keyframes abc3{
 25%{width: 150px;height: 50px;background-color: blue;transform: rotate(45deg);}
 50%{width: 200px;height: 50px;background-color: yellow;transform: rotate(45deg);}
 75%{width: 150px;height: 50px;background-color: green;transform: rotate(-45deg);}
 100%{width: 100px;height: 50px;background-color: purple;transform: rotate(-90deg);}
 }
 #div1{
 width: 610px;
 height: 120px;
 background-image: url(img/zhoukao4.png);
 }
  
  
  
 }
 </style>
 <title></title>
 </head>
 <body>
 <div id="div1">
 <a id="a" style="float: left; margin-top: 50px; font-size: 50px; color: #FFFFFF;">新疆</a>
 </div>
 <ul>
 <li><a href = "#">首页</a></li>
 <li><a href = "#">新疆简介</a></li>
 <li><a href = "#">风十人情</a></li>
 <li><a href = "#">吃在新疆</a></li>
 <li><a href = "#">路线选择</a></li>
 <li><a href = "#">自助行</a></li>
 <li><a href = "#">摄影录像</a></li>
 <li><a href = "#">游记精选</a></li>
 <div class="cle"></div>
 </ul>
 <a href="http://www.weather.com.cn/weather/101010100.shtml"><img src="img/zhoukao3.png" id="img2"/></a>
 <a href="https://baike.sogou.com/v851026.htm?fromTitle=%E6%96%B0%E7%96%86"><img src="img/zhoukao2.png" id="img2"/></a>
 <a href="http://www.ts.cn/homepage/content/2015-07/06/content_11649673.htm"><img src="img/zhoukao7.png" id="img3" /></a>
 </body>
 </html>
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值