Created
December 14, 2010 14:07
-
-
Save zeropaper/740450 to your computer and use it in GitHub Desktop.
CSS3-Smilies
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
<style type="text/css"> | |
.smiley { | |
background-color: rgb(0, 0, 0); | |
color: rgb(255, 255, 255); | |
display: inline-block; | |
width: 16px; | |
height: 16px; | |
line-height: 16px; | |
font-size: 12px; | |
text-align: center; | |
-moz-transform: rotate(90deg); | |
-moz-border-radius: 4px; | |
font-weight: bold; | |
} | |
</style> | |
<p>It could be improved/customized/turned into a Drupal filter ... but I guess you get the idea <span class="smiley">=)</span></p> | |
<p>oh.. and.. it's just a 5 minutes thing... so I could'nt care less about Safari/Chrome/IE and other exotic browsers <span class="smiley">;)</span></p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment