<div id="post-0" class="col-md-8 single-publicacoes">
<div class="index">
<div class="index-thumbnail">[IMAGE]</div>
<div id="index-mascara">[EFEITO]</div>
<div class="index-title-date">
<p class="title-date">[TEXTO]</p>
</div>
</div>
</div>
<div id="post-1" class="col-md-8 single-publicacoes"> ...
Partial jQuery statement:
$(".title-date").on('mouseover', function(){
// função
}).on('mouseleave', function(){
// função
});
Since the mouseover and mouseleave functions, I can make the paragraph p.title-date
modify the background of #index-mascara
by remembering that it can modify only the current element and not the others?