如何删除复选框边框? [英] How do I remove checkbox border?
本文介绍了如何删除复选框边框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以移除复选框周围的边框,使其看起来不可见?
Is it possible to remove the borders around a checkbox so that it appears invisible? I have it placed in a DIV with a color background.
推荐答案
不幸的是,它不可能删除浏览器原生复选框上的边框它不会在所有浏览器中工作),你将必须编写自己的复选框状态小部件来实现这一点。如果您要使用自定义样式为常规表单控件设置样式,请查看好的表单。
Unfortunately, its not possible to remove borders on browser native checkboxes (it will not work in all browsers), You will have to write your own checkbox-like state widget to implement this. Check out Nice forms if you want to style your regular form controls with custom styling
这篇关于如何删除复选框边框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文