<!-- Just write the code that belongs to your <body></body> :) --><div class="container">
<!-- Slide Up -->
<div class="image slideUp">
<img src="http://moisrex.rozblog.com/user/Avatar/moisrex/cena.png" width="150px" height="150px" />
<span class="title"><font size="2px" face="b yekan">تشکر یادت نره</font></span>
</div>
<!-- Slide Up Full -->
<div class="image slideUpFull">
<img src="http://moisrex.rozblog.com/user/Avatar/moisrex/cena.png" width="150px" height="150px" />
<span class="title"><font size="2px" face="b yekan">تشکر یادت نره</font></span>
</div>
<!-- Slide Down -->
<div class="image slideDown">
<img src="http://moisrex.rozblog.com/user/Avatar/moisrex/cena.png" width="150px" height="150px" />
<span class="title"><font size="2px" face="b yekan">تشکر یادت نره</font></span>
</div>
<!-- Slide Down Full -->
<div class="image slideDownFull">
<img src="http://moisrex.rozblog.com/user/Avatar/moisrex/cena.png" width="150px" height="150px" />
<span class="title"><font size="2px" face="b yekan">تشکر یادت نره</font></span>
</div>
<!-- Slide Left -->
<div class="image slideLeft">
<img src="http://moisrex.rozblog.com/user/Avatar/moisrex/cena.png" width="150px" height="150px" />
<span class="title"><font size="2px" face="b yekan">تشکر یادت نره</font></span>
</div>
<!-- Slide Right -->
<div class="image slideRight">
<img src="http://moisrex.rozblog.com/user/Avatar/moisrex/cena.png" width="150px" height="150px" />
<span class="title"><font size="2px" face="b yekan">تشکر یادت نره</font></span>
</div>
<!-- Slide Bottom Right -->
<div class="image slideBottomRight">
<img src="http://moisrex.rozblog.com/user/Avatar/moisrex/cena.png" width="150px" height="150px" />
<span class="title"><font size="2px" face="b yekan">تشکر یادت نره</font></span>
</div>
<!-- Slide Bottom Left -->
<div class="image slideBottomLeft">
<img src="http://moisrex.rozblog.com/user/Avatar/moisrex/cena.png" width="150px" height="150px" />
<span class="title"><font size="2px" face="b yekan">تشکر یادت نره</font></span>
</div>
<!-- Slide Top Right -->
<div class="image slideTopRight">
<img src="http://moisrex.rozblog.com/user/Avatar/moisrex/cena.png" width="150px" height="150px" />
<span class="title"><font size="2px" face="b yekan">تشکر یادت نره</font></span>
</div>
<!-- Slide Top Left -->
<div class="image slideTopLeft">
<img src="http://moisrex.rozblog.com/user/Avatar/moisrex/cena.png" width="150px" height="150px" />
<span class="title"><font size="2px" face="b yekan">تشکر یادت نره</font></span>
</div>
<!-- Reveal Up Half -->
<div class="image revealUpHalf">
<img src="http://moisrex.rozblog.com/user/Avatar/moisrex/cena.png" width="150px" height="150px" />
<span class="title"><font size="2px" face="b yekan">تشکر یادت نره</font></span>
</div>
<!-- Reveal Up Full -->
<div class="image revealUpFull">
<img src="http://moisrex.rozblog.com/user/Avatar/moisrex/cena.png" width="150px" height="150px" />
<span class="title"><font size="2px" face="b yekan">تشکر یادت نره</font></span>
</div>
</div>
<style>body {
font-family: 'Lucida Grande', 'Helvetica Neue', sans-serif;
font-size: 13px;
}
div.container {
margin: 50px auto;
width: 675px;
}
div.image {
position: relative;
overflow: hidden;
width: 150px;
height: 150px;
display: inline-block;
margin-right: 15px;
margin-bottom: 15px;
box-shadow: 0px 0px 5px 3px rgba(0,0,0,0.3);
}
img {
position: absolute;
left: 0;
top: 0;
-webkit-transition: all .3s ease-out;
-moz-transition: all .3s ease-out;
-ms-transition: all .3s ease-out;
-o-transition: all .3s ease-out;
transition: all .3s ease-out;
}
span.title {
width: 150px;
height: 20px;
position: absolute;
background: rgba(30,30,30,0.9);
text-align: center;
padding: 5px 0 4px;
font-size: 14px;
color: white;
font-family: "Lucida Sans", "Trebuchet MS", Arial, sans-serif;
-webkit-transition: all .3s ease-out;
-moz-transition: all .3s ease-out;
-ms-transition: all .3s ease-out;
-o-transition: all .3s ease-out;
transition: all .3s ease-out;
}
/* SLIDE UP */
div.image.slideUp span {
bottom: -29px;
}
div.image.slideUp:hover img {
top: -29px;
}
div.image.slideUp:hover span {
bottom: 0px;
}
/* SLIDE UP FULL */
div.image.slideUpFull span {
height: 141px;
bottom: -150px;
}
div.image.slideUpFull:hover img {
top: -150px;
}
div.image.slideUpFull:hover span {
bottom: 0px;
}
/* SLIDE DOWN */
div.image.slideDown span {
top: -29px;
}
div.image.slideDown:hover img {
top: 29px;
}
div.image.slideDown:hover span {
top: 0px;
}
/* SLIDE DOWN FULL */
div.image.slideDownFull span {
height: 141px;
top: -150px;
}
div.image.slideDownFull:hover img {
top: 150px;
}
div.image.slideDownFull:hover span {
top: 0px;
}
/* SLIDE Left */
div.image.slideLeft span {
height: 141px;
left: -150px;
}
div.image.slideLeft:hover img {
left: 150px;
}
div.image.slideLeft:hover span {
left: 0;
}
/* SLIDE Right */
div.image.slideRight span {
height: 141px;
right: -150px;
}
div.image.slideRight:hover img {
left: -150px;
}
div.image.slideRight:hover span {
right: 0;
}
/* SLIDE BOTTOM RIGHT */
div.image.slideBottomRight span {
height: 141px;
width: 150px;
bottom: -150px;
right: -150px;
}
div.image.slideBottomRight:hover img {
top: 0px;
}
div.image.slideBottomRight:hover span {
bottom: 0px;
right: 0px;
}
/* SLIDE TOP RIGHT */
div.image.slideTopRight span {
height: 141px;
width: 150px;
top: -150px;
right: -150px;
}
div.image.slideTopRight:hover img {
top: 0px;
}
div.image.slideTopRight:hover span {
top: 0px;
right: 0px;
}
/* SLIDE BOTTOM RIGHT */
div.image.slideBottomLeft span {
height: 141px;
width: 150px;
bottom: -150px;
left: -150px;
}
div.image.slideBottomLeft:hover img {
top: 0px;
}
div.image.slideBottomLeft:hover span {
bottom: 0px;
left: 0px;
}
/* SLIDE BOTTOM RIGHT */
div.image.slideTopLeft span {
height: 141px;
width: 150px;
top: -150px;
left: -150px;
}
div.image.slideTopLeft:hover img {
top: 0px;
}
div.image.slideTopLeft:hover span {
top: 0px;
left: 0px;
}
/* REVEAL UP HALF */
div.image.revealUpHalf span {
height: 141px;
width: 150px;
bottom: -120px;
}
div.image.revealUpHalf:hover img {
top: -40px;
}
div.image.revealUpHalf:hover span {
bottom: -80px;
}
/* REVEAL UP FULL */
div.image.revealUpFull span {
height: 141px;
width: 150px;
bottom: -120px;
}
div.image.revealUpFull:hover img {
top: -150px;
}
div.image.revealUpFull:hover span {
bottom: 0px;
}</style>