码迷,mamicode.com
首页 > 其他好文 > 详细

如何让input number类型的标签不产生上下加减的按钮

时间:2019-08-19 21:14:55      阅读:69      评论:0      收藏:0      [点我收藏+]

标签:blank   logs   import   href   col   button   out   nbsp   app   

添加css代码:

<style>
    input::-webkit-outer-spin-button,
    input::-webkit-inner-spin-button {
        -webkit-appearance: none !important;
        margin: 0;
    }
</style>

 原文链接:https://www.cnblogs.com/lizhaoyao/p/7568687.html

如何让input number类型的标签不产生上下加减的按钮

标签:blank   logs   import   href   col   button   out   nbsp   app   

原文地址:https://www.cnblogs.com/YeHuan/p/11379389.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!