I have an animation on my site, and I need to duplicate it, that is, I need to create more than one "square" with the animation, without it conflicting with another:
take a look at it below, and click on "view more information"
CODE
<section class="conteudo1">
<div class="servicos-3 coluna imagem-fade" style="background:url(img/img-servicos.png) no-repeat;"></div>
<div class="servicos-9 coluna conteudo-fade">
<div class="titulo-conteudo-fade">
<h2>ORGANIZAÇÃO FINANCEIRA PARA EVENTOS</h2>
</div>
<div class="texto-conteudo-fade">
<span>Confira nossa variedade de serviços financeiros que podem ser realizados no seu evento.</span>
<br/><br/><br/>
<a href="javascript:;" class="toggle"><button class="btn btn-default btn-servicos">ver mais serviços</button></a>
</div>
</div>
</section>
<section class="conteudo2">
<div id="tabs">
<div class="x-sair">
<a href="javascript:;" class="toggle"><img src="img/x-sair-servicos.png"></a>
</div>
<div class="col-md-3 coluna imagem-fade" style="padding: 30px;background:#ffeed6;">
<div class="servicos-categoria">
<div class="btn-group-vertical btns-categoria">
<ul class="categoria-list">
//CONTEUDO
</ul>
<div class="botoes">
<div class="up"><a href="" class="glyphicon glyphicon-chevron-up" style="cursor:pointer;text-decoration:none;"></a></div>
<div class="down"><a href="" class="glyphicon glyphicon-chevron-down" style="cursor:pointer;text-decoration:none;"></a></div>
</div>
</div>
</div>
</div>
<div class="col-md-9 coluna conteudo-categoria">
<div class="titulo-conteudo-fade">
//CONTEUDO
</div>
</div>
</div>
</section>
</div>
</div>
JS
jQuery(function($){
$('section').on('click','button',function(e){
$('.card').toggleClass('flipped');
});
});
jQuery(function($){
$('section').on('click','img',function(e){
$('.card').toggleClass('flipped');
});
});
There are no problems in JS, the animation is the flip, I just need to have more than one "block", each block has 2 sections, the "content1" section is the front, the "content2" section is the section that ta behind, at the time I click on "see more info" the effect of the flip happens and shows the contents of the section "content2". Everything is normal, what I need is to just create more "blocks" like this .... did you understand?
* SOLUTION *
The solution was simple, the query was the same, heck to four or so, but funfou legal:)