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

css3过度效果

时间:2015-01-07 22:12:26      阅读:165      评论:0      收藏:0      [点我收藏+]

标签:html5   css3   

<!DOCTYPE html>
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
p a{
font-size:20px;
display:block;
font-weight:bold;
background:#00aaFF;
color:#FFF;
width:200px;
padding:10px;
text-shadow:0px 1px #ccc;
border-radius:5px;
box-shadow: 5px 5px 5px hsla(0, 0%, 26.6667%, 0.8);
transition-property:all;
transition-duration:2s;
transition-timing-function:ease;
transition-timing-function:cubic-bezier;
transition-delay:0s;
}
a:hover{
background:#11ccaa;
}
</style>
<script type="text/javascript"></script>
</HEAD>

<BODY>

<p>
	<a href="#">Hello World !</a>
</p>
</BODY>
</HTML>

css3过度效果

标签:html5   css3   

原文地址:http://blog.csdn.net/ztt_1119/article/details/42501505

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