1. Problem description
I define a component here, and then want to modify the background color of the component outside, the following modification is invalid:
.fixedBox {
background-color: red !important;
}
Two, the solution
Solved by using /deep/:
/deep/ .fixedBox {
background-color: red !important;
}