Created
August 9, 2012 23:35
-
-
Save nrrrdcore/3309046 to your computer and use it in GitHub Desktop.
The Perfect Inset Input CSS
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
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; | |
} |
thank you!
Still using this 10+ years later for absolutely beautiful inputs. Truly timeless!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
perfect border!