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

圆角仿苹果消息图标

时间:2016-05-27 11:03:11      阅读:120      评论:0      收藏:0      [点我收藏+]

标签:

<!DOCTYPE HTML>
<html>
<head>
<style>
   span.num{  
    background-color: #f00;  
    background-image: -webkit-linear-gradient(top, #f00, #600); /* Chrome 10+, Saf5.1+, iOS 5+ */  
    background-image:    -moz-linear-gradient(top, #f00, #600); /* FF3.6+ */  
    background-image:     -ms-linear-gradient(top, #f00, #600); /* IE10 */  
    background-image:      -o-linear-gradient(top, #f00, #600); /* Opera 11.10+ */    
    color:#fff;  
    font-family:Verdana;  
    font-weight:normal;  
    padding:1px 5px;  
    border:3px solid #fff;  
    border-radius:15px;  
    position:absolute;  
    margin-top:-10px;  
    margin-left:-10px;  
    box-shadow: 0 2px 3px 0px rgba(0,0,0,1);  
    text-shadow: -1px -1px 0 #000;  
}  

</style>
</head>
<body>
<a href="#"><span class="num">1</span></a>
</body>
</html>

 

圆角仿苹果消息图标

标签:

原文地址:http://www.cnblogs.com/llcdbk/p/5533687.html

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