Html input button default border css

type of input proposal, usually has a "bevel" 3D in the side corner. how to use css to make it clear?

+3
source share
2 answers

This should work for what you need:

 input 
 {
        border: 0;
 }

or if you want to be more specific:

 input[type=button], input[type=submit] 
 { 
        border: 0 
 }

or you can use the inline style:

<input type=button value="Testing" style="border:0">
+3
source

Adding any border to the button will remove the browsers built in the "3D effect". Something like the following will add a gray frame instead.

input[type=submit] {
    border: 1px solid 333;
}

, , , , .

+1

Source: https://habr.com/ru/post/1783894/


All Articles