Created
August 14, 2012 03:20
-
-
Save heronmedeiros/3346029 to your computer and use it in GitHub Desktop.
input search like apple
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
form { | |
} | |
form input[type="text"] { | |
background: url(images/search.png) no-repeat 10px 6px #fcfcfc; | |
border: 1px solid #d1d1d1; | |
font: bold 12px Arial,Helvetica,Sans-serif; | |
color: #bebebe; | |
width: 150px; | |
padding: 6px 15px 6px 35px; | |
-webkit-border-radius: 20px; | |
-moz-border-radius: 20px; | |
border-radius: 20px; | |
text-shadow: 0 2px 3px rgba(0, 0, 0, 0.1); | |
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset; | |
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset; | |
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset; | |
-webkit-transition: all 0.7s ease 0s; | |
-moz-transition: all 0.7s ease 0s; | |
-o-transition: all 0.7s ease 0s; | |
transition: all 0.7s ease 0s; | |
} | |
form input[type="text"]:focus { | |
width: 400px; | |
} | |
textarea:focus, input:focus{ | |
outline: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment