我正面臨一個問題。我有四個單選按鈕,但我用複選框更改了它的外觀。他們實際上是單選按鈕,但看起來像複選框。問題出在谷歌瀏覽器中。但在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>
如何從單選按鈕刪除線,但看起來像複選框。在此先感謝
[CHROME HTML無線電覆選框顯示減號(可能的重複http://stackoverflow.com/questions/27437414/chrome-html -radio-to-checkbox-showing-minus-sign) –