Can someone help me with nesting a div tag with the "error" class in CSS?
<div [class]="{error: condition}">{{ message }}</div>
I want to know how to have the .error selector inside the div selector in the CSS file.
Note: The error class should include the properties of the div as well.