I'm creating a website, they asked me to play a joke on the team part. According to this image, when it is done: hover in one of the parts, all text and image are sorted:
Idonotknowhowtotakeoffthisboot,becausejavascript
isnotmystrong.Iwishyoucouldhelpme.
Cropped Photo
My HTML
is:
<div class="equipa_membro">
<div class="equipa_foto equipa_foto1">
<div class="equipa_ft_tr equipa_ft2_tr1"></div>
<div class="equipa_ft_tr equipa_ft2_tr2"></div>
<div class="equipa_ft_tr equipa_ft2_tr3"></div>
<div class="equipa_ft_tr equipa_ft2_tr4"></div>
<div class="equipa_ft_tr equipa_ft2_tr5"></div>
<div class="equipa_ft_tr equipa_ft2_tr6"></div>
</div>
<h5 class="nome_equipa1">oNem od bmoerM</h6>
<p class="funcao_equipa2">ãnuonçF edsepDamehane</p>
</div>
My CSS
:
.equipa_membro {height: 320px; margin-top: 50px;}
.equipa_foto {width: 282px; height: 244px; margin: 0 auto;}
.equipa_ft_tr {width: 141px; height: 122px;}
.equipa_ft1_tr1 {background: url(images/foto1.png); position: absolute; margin: 0px 0px; }
.equipa_ft1_tr2 {background: url(images/foto2.png); position: absolute; margin: 0px 70px; z-index: 1000;}
.equipa_ft1_tr3 {background: url(images/foto3.png); position: absolute; margin: 0px 141px;}
.equipa_ft1_tr4 {background: url(images/foto4.png); position: absolute; margin: 122px 0px;}
.equipa_ft1_tr5 {background: url(images/foto5.png); position: absolute; margin: 122px 70px; z-index: 1000;}
.equipa_ft1_tr6 {background: url(images/foto6.png); position: absolute; margin: 122px 141px;}