How can one make the text inside a button transparent on hover? the background should remain the same though. I tried opacity:0; but it made the whole button invisible. Help. I tried the below code.
<style>
.btn:hover {
background-color: #ededed !important;
color: #3c3c3c !important;
opacity:0;
}
</style>
<button class=" btn btn-success btn-lg">test button</button>