Is there a way to create CSS rules that achieve the following conditions?
- The parent component's CSS does not impact the child component
- The child component's CSS does not affect the parent component
The child component is sourced from an external website's API. Currently, this child component affects the styling of the parent component (and I am unable to modify the child component's style).
The main style is defined in the layout.
This style has a broad scope of influence, and individually applying scoped
styles to each component is cumbersome, so I would prefer to avoid it.