I am working on one angular project, where I want to remove the parent element styling with the help of child element, because the child element is on condition based. Note parent element is having inline styling
my code is something like this
<form style="background-color: red; padding: 5px"
class="my-form">
<div>
<div>
<button class="my-btn">click me</button>
</div>
</div>
css
.my-btn {
color: #fff;
background-color: #000;
border: none;
outline: none;
padding: 5px 12px;
cursor: pointer;
}