A Pen by Thulio Philipe on CodePen.
Created
August 20, 2013 23:56
-
-
Save thulioph/6288855 to your computer and use it in GitHub Desktop.
A CodePen by Thulio Philipe.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="all" id="membro-01"> | |
<figure> | |
<a class="box-equipe" href="javascript:;"> | |
<p class="nome-membro-equipe">Nome do Caboco</p> | |
</a> | |
</figure> | |
</div> | |
<div class="all" id="membro-02"> | |
<figure> | |
<a class="box-equipe" href="javascript:;"> | |
<p class="nome-membro-equipe">Nome do Caboco</p> | |
</a> | |
</figure> | |
</div> | |
<div class="all" id="membro-03"> | |
<figure> | |
<a class="box-equipe" href="javascript:;"> | |
<p class="nome-membro-equipe">Nome do Caboco</p> | |
</a> | |
</figure> | |
</div> | |
<div class="all" id="membro-04"> | |
<figure> | |
<a class="box-equipe" href="javascript:;"> | |
<p class="nome-membro-equipe">Nome do Caboco</p> | |
</a> | |
</figure> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.all{ | |
width: 225px; | |
height: 225px; | |
float: left; | |
margin-left: 10px; | |
overflow: hidden; | |
background-color: black; | |
} | |
.all:hover .box-equipe{ | |
margin-top: 140px; | |
} | |
a.box-equipe{ | |
cursor: pointer; | |
display: block; | |
text-decoration: none; | |
font-family: calibri; | |
text-align: center; | |
margin-top: 230px; | |
color: #fff; | |
-webkit-transition: all 0.2s ease; | |
-moz-transition: all 0.2s ease; | |
-ms-transition: all 0.2s ease; | |
-o-transition: all 0.2s ease; | |
transition: all 0.2s ease; | |
} | |
#membro-01,#membro-02, | |
#membro-03,#membro-04{ | |
background-color: black; | |
-webkit-transition: opacity 0.2s linear; | |
-moz-transition: opacity 0.2s linear; | |
-ms-transition: opacity 0.2s linear; | |
-o-transition: opacity 0.2s linear; | |
transition: opacity 0.2s linear; | |
} | |
#membro-01:hover,#membro-02:hover, | |
#membro-03:hover,#membro-04:hover{ | |
opacity: 0.4; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment