html:
<input type="text" placeholder="去除input默认样式">
css:
/*去除input默认样式*/
input {
outline:none;
background:transparent;
border:none;
outline:medium;
}
*:focus {
outline: none;
background-color: transparent;
}
::selection{background:transparent; }
::-moz-selection{background:transparent; }