Skip to content

Instantly share code, notes, and snippets.

@csessig86
Created November 5, 2013 22:53
Show Gist options
  • Save csessig86/7327816 to your computer and use it in GitHub Desktop.
Save csessig86/7327816 to your computer and use it in GitHub Desktop.
Twitter style close button. As used with election 2013 site
<div class="close-button"><a href="#{{whitespaceRemove ../../city}}CI" data-ajax="false">&times;</a></div>
/**** Close button ****/
.close-button {
float: right;
margin: 5px;
text-shadow: 0 1px 2px 0 #444444;
}
.close-button a {
color: #404040;
opacity: 0.8;
font-size: 40px;
font-weight: bold;
line-height: 18px;
filter: alpha(opacity=80);
text-decoration: none;
}
.close-button a:hover {
cursor: pointer;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment