I am using .cdk-drag-preview to style while dragging my tab, but I should use own class and also I should not use ! important If am trying to add higher css specify also it's not working. How to do that Html `<div cdkDrag> {{name}} <mat-icon> settings</mat-icon> </div>` Css .cdk-drag-preview{ width : fit-content ! important; height: fit-content ! important; background-color - white; } I tried to add one class above this and tried .tab .cdk-drag-preview {} It doesn't work Continue reading...