Himas Rafeek
Posted on: 2 years ago
CSS

getting rid of default form styles

this gets rid of all default form styles set by browser


                                          <
style>
form * {
    background: none;
}
input[type=text], input[type=password], input[type=submit],textarea, button {
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #666;
    background: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
}
<
/style>