Created
October 23, 2012 19:03
-
-
Save Ricardo-Diaz/3940870 to your computer and use it in GitHub Desktop.
CSS: Depth & Gradient Input Box
This file contains hidden or 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
//Depth & Gradient Input | |
.depth { | |
display: block; | |
border: 1px solid silver; | |
background: linear-gradient(#eee, #fff); | |
transition: all 0.3s ease-out; | |
padding: 5px; | |
color: #555; | |
} | |
.depth:focus { | |
outline: none; | |
background-position: 0 -1.7em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment