gpt4 book ai didi

jquery - 如何从复选框中删除行?

转载 作者:行者123 更新时间:2023-11-28 04:49:01 25 4
gpt4 key购买 nike

我面临一个问题。我有四个单选按钮,但我用复选框改变了它的外观。它们实际上是单选按钮,但看起来像复选框。问题出在谷歌浏览器中。但在 Firefox 中工作正常谁能帮我。这是我的代码:-

input[type="radio"].custom-radio {
-webkit-appearance: checkbox;
-moz-appearance: checkbox;
-ms-appearance: checkbox; /* not currently supported */
-o-appearance: checkbox; /* not currently supported */
}
<span class="text_part_class-2">
<span class="radio secondpart">
<input type="radio" value="Business for Sale" class="custom-radio" name="lastservice">
</span>
enter image description here

如何从单选按钮中删除线,但看起来像复选框。提前致谢

最佳答案

试试这个:

input[type="radio"].custom-radio {
-webkit-appearance: radio;
-moz-appearance: radio;
-ms-appearance: radio; /* not currently supported */
-o-appearance: radio; /* not currently supported */

关于jquery - 如何从复选框中删除行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40804920/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com