Input box with shadow ( you can use class in all form input types )

/ Published in: CSS
Save to your folder(s)

make sure you have image (shadow.gif)

Copy this code and paste it in your HTML
  1. .inputclass
  2. {
  3. background:#fff url(../images/shadow.gif) repeat-x top;
  4. border-bottom:1px solid #ddd;
  5. border-left:1px solid #c3c3c3;
  6. border-right:1px solid #c3c3c3;
  7. border-top:1px solid #7c7c7c;
  8. padding:2px 0;
  9. color:#333;
  10. }

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.