码迷,mamicode.com
首页 > Web开发 > 详细

第2章 CSS精粹串讲

时间:2016-06-14 11:30:19      阅读:178      评论:0      收藏:0      [点我收藏+]

标签:

2.2 范例1:CSS3过渡(transitions)效果

技术分享
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style type="text/css">
        a { color: #e83119; }
        a:hover { color: #0a99ae; }
        a {
            -webkit-transition-property: color;
            -webkit-transition-duration: 0.4s;
            -webkit-transition-timing: easy-out;
        }
    </style>
</head>
<body>
    <a href="javascript:void;">哈哈</a>
</body>
</html>
View Code

 

第2章 CSS精粹串讲

标签:

原文地址:http://www.cnblogs.com/revoid/p/5583225.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!