2
Hello guys I’m wanting to make when I press 1x on DIV "packages . PA" it will make the changes:
- classify .select
- CSS: #bottaaoPA: Display:Block ;
- CSS: bottaaoPB: Display:None;
- CSS: bottaaoPC: Display:None;
And when I press again he will remove the class .select
<div class="pacotes pa">
<h1> PACOTE COMPLETO</h1>
<h2 style="display:inline-block;margin-right:5px;">R$<b>2.500,</b></h2>
<h6 style="display:inline-block;">00</h6>
<div class="bloco-loja">
<h1>Transfer</h1>
<h2>(participante + bike)</h2>
<h3>Vitória x Itaúnas<br> Praia das Neves x Vitória</h3>
</div>
<div class="bloco-loja">
<h1 style="margin-bottom:5px;">Pousada/Hotel</h1>
<h3>09 diárias c/ café da manhã</h3>
</div>
<div class="bloco-loja">
<h1>Carro de Apoio <br> e de Bagagem</h1>
</div>
<div class="bloco-loja">
<h1>Kit Evento</h1>
<h2 style="margin-top:10px;">Camisa Ciclista + Medalha de <br> Conclusão da Expedição + <br> Adesivo do Evento</h2>
</div>
<div class="bloco-loja">
<h1>Seguro</h1>
</div>
</div>
<div id="bottaaoPA">Comprar</div>
Kaique, avoid using inline css and whenever possible create an easy-to-check example, you can use https://jsfiddle.net/
– Gabriel Rodrigues
hello @Gabrielrodrigues so, this question didn’t have much to sample, so you don’t need jsfiddle.. Eee pq not use inline? I use the display: inline:block only because I think it better than using the float
– kaiquemix