Memasang jQuery Custom Image Lightbox
Lightbox Putih
by Hm Ba
HTML
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<div class="separator" style="clear: both; text-align: center;font-weight: bold;color: #444;">
تأثير تكبير الصورة
</div>
<br />
<br />
<div class="separator" style=" text-align: center;">
<a style="margin-left: 1em; margin-right: 1em;"><img alt="Hm" src="http://2.bp.blogspot.com/-wvZqS8RamIE/VEJhVg3ZUfI/AAAAAAAAGdU/eERkaNbjBSg/s1600/3demo.png" height="400" style="border: none;" width="680" /></a></div>
<div class='credit'>
<a class='blog-link' href='http://www.ar1web.com/2014/10/best-hover-effects.html' target='_blank'>عودة لتدوينة</a>
</div>
CSS
.credit{
text-align:center;
margin:20px 0;
}
.blog-link{
color:#fff;
font-weight: bold;
text-decoration:none;
background:#eee;
background-size:40px;
line-height:50px;
display:inline-block;
padding:0 10px;
border-radius:4px;
border-bottom:3px solid #ddd;
color:#333;
font-family:'open sans',sans-serif;
margin:10px;
}
img {transition: all .5s;}
img:hover { -webkit-transform: scale(1.1);
-ms-transform: scale(1.1);
transform: scale(1.1);
-webkit-transition: 0.4s;
-moz-transition: 0.4s;
-o-transition: 0.4s;
-ms-transition: 0.4s;
transition: 0.4s; }