Skip to content

Instantly share code, notes, and snippets.

@ggamel
Created May 18, 2012 03:47
Show Gist options
  • Save ggamel/2723039 to your computer and use it in GitHub Desktop.
Save ggamel/2723039 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
[class$="button"] {
color: #333;
background-color: #ccc;
display: inline-block;
font-weight: bold;
text-decoration: none;
padding: 8px 10px;
font-family: sans-serif;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}
[class$="-button"] {
color: #fff;
}
.confirm-button {
background-color: #264ea9;
}
.error-button {
background-color: #f20000;
}​
<a href="#" class="button">Action</a>
<a href="#" class="confirm-button">Action</a>
<a href="#" class="error-button">Action</a>​
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment