Skip to content

Instantly share code, notes, and snippets.

@groenewege
Created October 26, 2012 08:34
Show Gist options
  • Save groenewege/3957646 to your computer and use it in GitHub Desktop.
Save groenewege/3957646 to your computer and use it in GitHub Desktop.
css - depth input
.depth {
display: block;
border: 1px solid rgba(255,255,255,0.6);
background: linear-gradient(#eee, #fff);
transition: all 0.3s ease-out;
box-shadow:
inset 0 1px 4px rgba(0,0,0,0.4);
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