-1
Hi I’m trying to make the Play/Pause button be just a button but keeping the two IDS, because each ID makes a function, Someone knows how to unify the buttons by transforming them into one. When you click on pause the play icon appears, when you click on play the pause icon. I read a lot more I couldn’t get.
#myBtn i{
        font-size: 30px;
        margin-left: 60px;
        color: #000;    
        z-index: 999;
        cursor: pointer;
        position: absolute;
        bottom: 0;
        }
#myBtn2 i{
        font-size: 30px;
        color: #000;    
        z-index: 999;
        cursor: pointer;
        position: absolute;
        bottom: 0;
    }<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
<div id="myBtn"><i class="fa fa-play" aria-hidden="true"></i></div>
            <div id="myBtn2"><i class="fa fa-pause" aria-hidden="true"></i></div>
I got it man, thanks really, well ninja vc. Thank you so, I’ll mark the question, solved the problem here, Good afternoon.
– Lucas
@Lucas was worth the strength there man! I’m glad it worked out for you there
– hugocsl