html5 去掉input type=month的默认样式(上下箭头)

 代码如下:

input[type=month]::-webkit-inner-spin-button{visibility: hidden;}

 

 

之前:

 

修改以后:

 

资料:

html5中如何去掉input type data默认样式 https://www.jianshu.com/p/298d6d54ffbc

 

转载于:https://www.cnblogs.com/Fourteen-Y/p/11245063.html

你可能感兴趣的:(html5 去掉input type=month的默认样式(上下箭头))