Reputation: 377
I'm using CSS framework, and there is a CSS class in it, for example, .btn-trigger
. This class has many styles, opacity
, font-size
, etc. One of these styles is breaking my animation. How can remove this style?
Upvotes: 1
Views: 422
Reputation: 642
.sub {
background:red;
color: blue;
font-size: 24px;
}
.sub {
all: unset;
}
<div class="main">
<div class="sub">Hello</div>
</div>
Upvotes: 2