因爲我已經安裝了物化css。我在使用自定義類的按鈕時遇到問題。我需要這個邊界設置爲0。重寫css over materializecss
按鈕之前: 按鈕後:
我已經嘗試:
[type="checkbox"][_ngcontent-eog-31] + label[_ngcontent-eog-31]:before, [type="checkbox"][_ngcontent-eog-31]:not(.filled-in) + label[_ngcontent-eog-31]:after {
border: 0px, none!important;
}
and
checkbox{
border 0px, none!important;
}
它沒有工作。我用複選框和較大的類型嘗試了所有這些方法 – CmchPt