国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發 > CSS > 正文

CSS3實例教程:transitions測試學習

2024-07-11 08:22:50
字體:
來源:轉載
供稿:網友
<!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>transitons</title>
<style type="text/css">
.transitions{
background:#000;
color:#fff;
width:500px;
line-hight:50px;
height:100px;
-moz-transition: background-color 2s linear;
-o-transition:background-color 2s linear;
-webkit-transition:background-color 2s linear;}
.transitions:hover{
background:#f00;}
.test2{
background:#000;
color:#f00;
width:500px;
height:50px;
line-height:50px;
-webkit-transition-property:background-color;
-webkit-transition-duration:4s,1s; //使用最后一個值
-webkit-transition-timing-function:linear;

-moz-transition-property:background-color;
-moz-transition-duration:4s,1s;//使用第一個值
-moz-transition-timing-function:linear;

-o-transition-propery:background-color;
-o-transition-duration:5s,1s;//使用第一個值
-o-transition-timing-function:linear;

}
.test2:hover{
background-color:#fff;
}
.test3{
color:#f00;
background-color:#00F;
width:500px;
height:50px;
-o-transition:background-color 2s linear,color 2s linear,width 2s linear,height 2s linear;
-webkit-transition:background-color 2s linear,color 2s linear, width 2s linear,height 2s linear;
-moz-transition:background-color 2s linear, color 2s linear,width 2s linear,height 2s linear;
}
.test3:hover{
width:200px;
height:200px;
color:#000;
background-color:#f00;}
.test4{
padding:5px;
line-height:24px;
color:#f00;
background-color:#00F;
width:100%;
background-image:url(../huaban/img/default_pin_bg.gif);
-o-transition:background-color 2s linear,color 2s linear,width 2s linear,height 2s linear,background-image 2s linear;
-webkit-transition:background-color 2s linear,color 2s linear, width 2s linear,height 2s linear,background-image 2s linear;
-moz-transition: background-color 2s linear,color 2s linear,width 2s linear,height 2s linear,background-image 2s linear;
}
.test4:hover{
width:400px;
color:#000;
background-color:#f00;
background-image:url(../huaban/img/login_or.png)}.test5 img{
position:absolute;
top:500px;
left:0;
-webkit-transform:rotate(0deg);
-webkit-transition:left 2s linear,-webkit-transform 2s linear;
-moz-transform:rotate(0deg);
-moz-transition:left 2s linear,-moz-transform 2s linear;
-o-transform:rotate(0deg);
-o-transition:left 2s linear,-o-transform 2s linear;
}
.test5:hover img{
position:absolute;
left:100px;
-webkit-transform:rotate(720deg);
-moz-transform:rotate(720deg);
-o-transform:rotate(720deg);
}</style>
</head></ol></div>
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 武定县| 西青区| 卢龙县| 通许县| 文登市| 祁东县| 新竹市| 邵阳县| 灵宝市| 张家川| 临朐县| 建水县| 色达县| 黄陵县| 绵竹市| 宜都市| 逊克县| 故城县| 古浪县| 永州市| 南投市| 西平县| 平昌县| 莫力| 左权县| 弋阳县| 屏边| 广丰县| 延津县| 田东县| 黎平县| 马龙县| 都匀市| 揭东县| 桂东县| 板桥市| 公主岭市| 通州市| 玉树县| 鞍山市| 泰州市|