admin管理员组文章数量:1431516
I am trying to customize my check box . In the jsfiddle where you can see the customized check box which is circle . I just want to make it a square and I need help to do it . Can someone help me. The fiddle link is /
border-radius : 100%
Makes it a circle, how to make it as a square ??
I am trying to customize my check box . In the jsfiddle where you can see the customized check box which is circle . I just want to make it a square and I need help to do it . Can someone help me. The fiddle link is http://jsfiddle/1aeur58f/125/
border-radius : 100%
Makes it a circle, how to make it as a square ??
Share Improve this question asked Mar 6, 2017 at 16:59 aniani 5162 gold badges12 silver badges36 bronze badges 5-
6
Delete
border-radius
property from.checkboxFour label
. – kind user Commented Mar 6, 2017 at 17:01 - It didn't work for me .. But setting it 0 worked .. – ani Commented Mar 6, 2017 at 17:14
- How did I fail to try that.. Played with all the numbers except 0 :( – ani Commented Mar 6, 2017 at 17:17
- I did upvote .. :) – ani Commented Mar 6, 2017 at 17:21
- Hi, something like this lokesh-coder.github.io/pretty-checkbox ? – lokesh-coder Commented Mar 31, 2017 at 17:24
2 Answers
Reset to default 1Delete the border-radius: 100px;
property from the .checkboxFour label
or set it to 0.
Jsfiddle
Just remove the border radius directives or set
border-radius : 0;
本文标签: javascriptStyling checkbox as squareStack Overflow
版权声明:本文标题:javascript - Styling checkbox as square - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745545100a2662668.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论