Skip to content

Instantly share code, notes, and snippets.

@mmazer
Created September 24, 2012 02:06
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 mmazer/3773826 to your computer and use it in GitHub Desktop.
Save mmazer/3773826 to your computer and use it in GitHub Desktop.
CSS: Submit button images
.btn-submit {
background: transparent url(image.png) no-repeat center top;
border: 0;
cursor: pointer;
height: 0px;
margin: 0;
overflow: hidden;
padding: 55px 0 0; /* set top padding to height of image */
width: 100px; /* set to width of image */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment