CSS3 实现RSS图标
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS3 实现RSS图标</title>
<style type=‘text/css‘>
body{
padding:50px 0 0 0
}
span.feed-box{
display:block;
width:100px;
height:100px;
margin:0 auto;
background:#F9A004;
box-shadow:
1px 1px 0 #C27C03,
2px 2px 0 #C27C03,
3px 3px 0 #C27C03;
-moz-box-shadow:
1px 1px 0 #C27C03,
2px 2px 0 #C27C03,
3px 3px 0 #C27C03;
-webkit-box-shadow:
1px 1px 0 #C27C03,
2px 2px 0 #C27C03,
3px 3px 0 #C27C03;
-moz-border-radius:10px;
-webkit-border-radius:10px;
border-radius:10px
}
span.feed-box *{
float:right;
display:block
}
span.feed-box .feed-box-in{
border:2px solid #FFC563;
width:92px;
height:92px;
margin:2px 2px 0 0;
-moz-border-radius:10px;
-webkit-border-radius:10px;
border-radius:10px;
overflow:hidden
}
span.feed-box .feed-box-in .feed-quarter-circle-big{
margin:8px 8px 0 0;
width:130px;
height:130px;
border:13px solid #FFDEA5;
border-radius:50%
}
span.feed-box .feed-box-in .feed-quarter-circle-big .feed-quarter-circle-small{
margin:9px 9px 0 0;
width:88px;
height:88px;
border:12px solid #FFDEA5;
border-radius:50%
}
span.feed-box .feed-box-in .feed-quarter-circle-big .feed-quarter-circle-small .feed-circle{
margin:13px 13px 0 0;
background:#FFDEA5;
width:35px;
height:35px;
border-radius:50%
}
span.feed-box:hover{
background:#07C103;
box-shadow:
1px 1px 0 #058E02,
2px 2px 0 #058E02,
3px 3px 0 #058E02;
-moz-box-shadow:
1px 1px 0 #058E02,
2px 2px 0 #058E02,
3px 3px 0 #058E02;
-webkit-box-shadow:
1px 1px 0 #058E02,
2px 2px 0 #058E02,
3px 3px 0 #058E02
}
span.feed-box:hover .feed-box-in{
border-color:#58FC55
}
span.feed-box:hover .feed-box-in .feed-quarter-circle-big,
span.feed-box:hover .feed-box-in .feed-quarter-circle-big .feed-quarter-circle-small{
border-color:#B9FFB7
}
span.feed-box:hover .feed-box-in .feed-quarter-circle-big .feed-quarter-circle-small .feed-circle{
background:#B9FFB7
}
</style>
</head>
<body>
<span class=‘feed-box‘>
<span class=‘feed-box-in‘>
<span class=‘feed-quarter-circle-big‘>
<span class=‘feed-quarter-circle-small‘>
<span class=‘feed-circle‘> </span><!-- #circle -->
</span><!-- #feed-quarter-circle-small -->
</span><!-- #feed-quarter-circle-big -->
</span><!-- #feed-box-in -->
</span><!-- #feed-box -->
<div>http://www.999jiujiu.com/</div>
</body>
</html>
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。