CSS3 實現RSS圖示

life66881發表於2015-03-17
<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'>&nbsp;</span><!-- #circle -->
</span><!-- #feed-quarter-circle-small -->
</span><!-- #feed-quarter-circle-big -->
</span><!-- #feed-box-in -->
</span><!-- #feed-box -->
<div><A href="http://www.999jiujiu.com/">http://www.999jiujiu.com/</A></div>
</body>
</html>

相關文章