Skip to content

Instantly share code, notes, and snippets.

@jogam5
Created March 6, 2013 18:41
Show Gist options
  • Save jogam5/5101863 to your computer and use it in GitHub Desktop.
Save jogam5/5101863 to your computer and use it in GitHub Desktop.
input, textarea {
width: 260px;
max-width: 260px;
padding: 9px;
outline: 0;
color:#DDD;
font: normal 13px/100% Verdana, Tahoma, sans-serif;
background: #FFFFFF url('bg_form.png') left top repeat-x;
background: -webkit-gradient(linear, left top, left 25, from(#000), color-stop(4%, #000), to(#000));
background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px);
box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
-moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
-webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px;
}
textarea {
width: 260px;
max-width: 260px;
height: 150px;
line-height: 150%;
}
input:hover, textarea:hover,
input:focus, textarea:focus {
border-color: #C9C9C9;
-webkit-box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 8px;
}
.form label {
margin-left: 10px;
color: black;
}
.submit input {
width: auto;
padding: 9px 15px;
background: #617798;
border: 0;
font-size: 14px;
color: #FFFFFF;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment