Skip to content

Instantly share code, notes, and snippets.

@zeropaper
Created December 14, 2010 14:07
Show Gist options
  • Save zeropaper/740450 to your computer and use it in GitHub Desktop.
Save zeropaper/740450 to your computer and use it in GitHub Desktop.
CSS3-Smilies
<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