我想在angular 7中覆盖ss-multiselect-dropdown的样式,我通过安装ngb multiselect来使用它 我如何覆盖CSS
答案 0 :(得分:0)
尝试一下:
HTML
<ss-multiselect-dropdown style="color: black;
background-color:transparent;bordercolor: #d5c2c2;"
[options]="myOptions" [(ngModel)]="optionsModel" (ngModelChange)="onChange($event)">
</ss-multiselect-dropdown>
CSS
ss-multiselect-dropdown {
color: blue !important;
font-size: 160px !important;
font-weight: bold !important;
}