I am using the ng-multiselect-dropdown. How can I override the CSS?
component.html
<ng-multiselect-dropdown [placeholder]="'Select Region'"
[data]="dropdownList" [(ngModel)]="selectedItems"
[settings]="dropdownSettings" (onSelect)="onItemSelect($event)"
(onSelectAll)="onSelectAll($event)" >
</ng-multiselect-dropdown>
component.css
.multiselect-dropdown[_ngcontent-c5] .dropdown-btn[_ngcontent-c5] {
display: inline-block;
border: 1px solid #adadad;
width: 100%;
padding: 6px 12px;
margin-bottom: 0;
font-size: 12px;
font-weight: 400;
line-height: 1.1;
text-align: left;
vertical-align: middle;
cursor: pointer;
background-image: none;
border-radius: 4px;
}
I need to override the default CSS with the above CSS code
encapsulation: ViewEncapsulation.None,
– Chaparro!important
to your component styles – Chaparro