Skip to content

Instantly share code, notes, and snippets.

@addisonbgross
Forked from nrrrdcore/inset_input.css
Created August 8, 2016 23:26
Show Gist options
  • Save addisonbgross/96c4621ccb3855e2bd0755b8e1a06207 to your computer and use it in GitHub Desktop.
Save addisonbgross/96c4621ccb3855e2bd0755b8e1a06207 to your computer and use it in GitHub Desktop.
The Perfect Inset Input CSS
input {
height: 34px;
width: 100%;
border-radius: 3px;
border: 1px solid transparent;
border-top: none;
border-bottom: 1px solid #DDD;
box-shadow: inset 0 1px 2px rgba(0,0,0,.39), 0 -1px 1px #FFF, 0 1px 0 #FFF;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment