I have this button element
<div class="subscription-form">
<button type="submit" class="btn btn-subscription btn-block">
<h4>Yes! I Want This Book <i class="fas fa-angle-double-down"></i></h4>
<p>... and the 50% Coupon Discount Code!</p>
</button>
</div>
I'd like to change the color of the texts inside when I hover over the button. I would like to use the same hover color for both h4 an p texts.
Here is my current css
.subscription-form button.btn-subscription {
background-color: #f0b911;
padding-top: 15px;
padding-bottom: 10px;
margin-right: 15px;
margin-left: 15px;
border-width: 1px;
border-color: #d9a70f;
border-style: solid;
border-radius: 4px;
}
.subscription-form button.btn-subscription:hover {
background-color: #d9a70f;
border-width: 1px;
border-color: #d9a70f;
border-style: solid;
border-radius: 4px;
}
.subscription-form button.btn-subscription h4 {
font-weight: 700;
text-transform: uppercase;
color: rgba(0,0,0, .8);
}
.subscription-form button.btn-subscription p {
color: rgba(0,0,0, .5);
}
I have tried this solution:
.subscription-form button.btn-subscription h4:hover, .subscription-form button.btn-subscription p:hover {
color: red;
}
but this will only work if I hover over the h4 and p tags. So I would like to apply the same color for both h4 and p when I hover over the button itself, not just the texts.