Skip to content

Instantly share code, notes, and snippets.

@fatihacet
Created August 25, 2012 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fatihacet/3467253 to your computer and use it in GitHub Desktop.
Save fatihacet/3467253 to your computer and use it in GitHub Desktop.
Using html special characters to make some stars
<ul>
<li><a href="#">&#9733</a></li>
<li><a href="#">&#9733</a></li>
<li><a href="#">&#9733</a></li>
<li><a href="#">&#9733</a></li>
<li><a href="#">&#9733</a></li>
</ul>
body {
background: #222;
margin: 2em;
}
ul {
list-style: none;
}
ul li a{
text-decoration: none;
float: left;
font-family: Arial;
font-weight: bold;
font-size: 2em;
margin-right:0.2em;
color: rgba(255,255,255,0.1);
text-shadow:0 -1px 1px black, 0 1px 1px transparent;
}
ul li a:hover {
color: #FFC517;
text-shadow:0 -1px 1px white, 0 1px 1px black;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment