Posted By

vaisakh on 08/15/16


Tagged

form


Versions (?)

getting rid of default form styles


 / Published in: CSS
 

this gets rid of all default form styles set by browser

  1. <style>
  2. form * {
  3. background: none;
  4. }
  5.  
  6. input[type=text], input[type=password], input[type=submit],textarea, button {
  7. -webkit-appearance: none;
  8. -moz-appearance: none;
  9. border: 1px solid #666;
  10. background: none;
  11. -webkit-border-radius: 0;
  12. -moz-border-radius: 0;
  13. border-radius: 0;
  14. padding: 0;
  15. margin: 0;
  16. }
  17. </style>

Report this snippet  

You need to login to post a comment.