Home >Web Front-end >H5 Tutorial >input的type="number"在部分手机端会出现一个小按钮要如何解决?

input的type="number"在部分手机端会出现一个小按钮要如何解决?

WBOY
WBOYOriginal
2016-06-07 08:44:531647browse

回复内容:

<code class="language-text">input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
</code>
在手机端的浏览器,却并没有实现去除控件?
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn