How do I apply a CSS Style (justify-content: center or box-sizing: border-box to All child and grandchild elements, except anything thats Material and starts with <mat? Is there an easy to way to text search in CSS/SCSS?
We will literally have 500+ elements, need to effectively apply this. Noticed that going into grandchildren inner-elements of Material, and applying border-box or center can ruin its display .
Is there a mat keyword search I can apply? There are numerous mat div elements, mat-input, mat-select, mat-tab, etc
Trying to apply the css starts-with selector,
https://www.w3schools.com/css/css_attribute_selectors.asp
.container *not(%.mat) {
box-sizing: border-box
}
<div class="container">
<div class="document-holder">
<div class>error_outline</div>
<mat-input><mat-input>