CSS based on class presence condition
I am new to CSS. In one use case I need to apply a CSS class, only when another is not present. <div class="border-solid p-2 bg-white mt-1 h-fit" [ngClass]="SOME_CONDITION ? 'tile-container' : ''" > <div class = 'chart-container'> <app-angualar-component></app-angualar-component> </div>…