Created
July 16, 2011 17:38
-
-
Save zachbrowne/1086577 to your computer and use it in GitHub Desktop.
Simple RSS Button with CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.feed-button { | |
padding: 10px 0; | |
} | |
.feed-button a { | |
color: #666; | |
padding: 10px 15px 10px 36px; | |
background: #ccc url("../images/feed-icon-14x14.png") no-repeat 15px 50%; | |
border-top: 1px solid #e2e2e2; | |
border-right: 1px solid #818181; | |
border-bottom: 1px solid #565656; | |
border-left: 1px solid #d7d7d7; | |
} | |
.feed-button a:hover { | |
color: #444; | |
background: #eee url("../images/feed-icon-14x14.png") no-repeat 15px 50%; | |
border-top: 1px solid #f5f5f5; | |
border-right: 1px solid #969696; | |
border-bottom: 1px solid #646464; | |
border-left: 1px solid #f2f2f2; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p class="feed-button"><a href="#">Comments Feed</a></p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment