Skip to content

Instantly share code, notes, and snippets.

@wilfriedE
Created May 31, 2013 21:17
Show Gist options
  • Save wilfriedE/5688074 to your computer and use it in GitHub Desktop.
Save wilfriedE/5688074 to your computer and use it in GitHub Desktop.
css gallery
/* CSS FRIENDLY BUTTONS*/
.button {
width: 10%;
color: #fff;/* MoDIFy to your content*/
text-decoration: none;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 0 1px 0px rgba(255,255,255,0.1) inset, 0 0px 1px rgba(0,0,0,0.7);/* MoDIFy to your content*/
-moz-box-shadow: 0 1px 0px rgba(255,255,255,0.1) inset, 0 0px 1px rgba(0,0,0,0.7);/* MoDIFy to your content*/
box-shadow: 0 1px 0px rgba(255,255,255,0.1) inset, 0 0px 1px rgba(0,0,0,0.7);/* MoDIFy to your content*/
background: rgba(0,0,0,0.1); /* #191919 *//* MoDIFy to your content*/
border: 1px solid #141414;
padding: 10px 25px;
cursor: pointer;
}
.button:active, .button:focus {
box-shadow: 0 0 0 transparent inset;
}
/* FIXED FOOTER*/
#footer{
position:fixed;
left:0px;
bottom:0px;
height:30px;
padding-top: 4px;
width:100%;
color: #fff;
background:#000;
}
#footer a, #footer a:active, #footer a:hover{
color: #fff;
text-decoration: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment