2017-09-26 47 views

回答

0

要改變高度和寬度覆蓋.K開關類和改變字體大小:

.k-switch { 
    font-size: 5px !important; 
} 

要更改開關超馳.K-接通的背景顏色和.K-切斷類

.k-switch-on { 
    background-color: green !important; 
} 
.k-switch-off { 
    background-color: red !important; 
} 

要刪除的文字:

<kendo-switch [onLabel]="' '" [offLabel]="' '"></kendo-switch> 

要改變圓圈的顏色:

.k-switch-handle{ 
    background-color: black !important; 
}