Created
February 12, 2010 17:12
-
-
Save smt/302764 to your computer and use it in GitHub Desktop.
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 Elements | |
-- Styled to look like native Safari on OS X. | |
-- Drop-down <select> menus are unaffected. | |
-- Buttons are unaffected. Native OS style. | |
*/ | |
input, | |
button, | |
select, | |
textarea { | |
margin: 0; | |
} | |
input[type=text], | |
input[type=search], | |
input[type=password] { | |
height: 16px; | |
vertical-align: top; | |
} | |
button, | |
input[type=submit], | |
input[type=button] { | |
font-size: 12px; | |
overflow: visible; | |
width: auto; | |
} | |
textarea, | |
select[multiple], | |
input[type=text], | |
input[type=search], | |
input[type=password] { | |
background: #fff url(http://host.sonspring.com/_misc/input_shadow.png) repeat-x; | |
/* | |
Copy the above image to your own server. | |
*/ | |
border: 1px solid; | |
border-color: #848484 #c1c1c1 #e1e1e1; | |
color: #000; | |
margin: 0; | |
padding-top: 2px; | |
padding-left: 3px; | |
padding-right: 3px; | |
font: 11px Verdana, sans-serif; | |
} | |
select[multiple] { | |
padding: 0; | |
} | |
optgroup { | |
background: #fff; | |
color: #000; | |
font-style: normal; | |
font-weight: normal; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment