Created
December 20, 2012 18:17
-
-
Save uhtred/4347432 to your computer and use it in GitHub Desktop.
CSS: Botão usando apenas um sprite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.btn-1, .btn-1-r{ | |
border:none; background: url("blue-btn-sprite.png") no-repeat; height: 24px; | |
} | |
.btn-1{ | |
overflow: inherit; font: bold 10px Arial; padding-left: 6px; color: #FFF; position: relative; | |
} | |
.btn-1-r{ background-position: -307px 0; width: 6px; position: absolute; right: -6px; top:0; display: block; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment