Last active
November 25, 2015 22:32
-
-
Save tmsss/f817edb10ee53996aa3e to your computer and use it in GitHub Desktop.
Circular div with fontawesome icon inside
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
html { | |
-webkit-box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
} |
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
div, span { | |
box-sizing: content-box; | |
float: right; | |
width: 30px; | |
height: 30px; | |
border: 2px solid #fff; | |
border-radius: 50%; | |
line-height: 30px; | |
text-align: center; | |
font-size: 16px; | |
color: #fff; | |
-webkit-font-smoothing: antialiased; | |
text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px; | |
margin-left: 10px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment