Remove the complete styling of an HTML button/submit

后端 未结 7 509
再見小時候
再見小時候 2020-12-13 05:14

Is there a way of completely removing the styling of a button in Internet Explorer? I use a css sprite for my button, and everything looks ok.

But when I click the

7条回答
  •  孤街浪徒
    2020-12-13 06:00

    I think this provides a more thorough approach:

    button, input[type="submit"], input[type="reset"] {
    	background: none;
    	color: inherit;
    	border: none;
    	padding: 0;
    	font: inherit;
    	cursor: pointer;
    	outline: inherit;
    }

提交回复
热议问题