4 Ağustos 2015 Salı

Blogger İçin Açıklamalı Resim Slayt

    Blogger sitenizde kullanılabileceğiniz farklı bir resim slayt özelliği daha.Üstelik resim üzerine maus ile gelince resim içine eklediğiniz not açılır ve mause çekinde kapanır.

   Gadget ekleme yöntemi ile kullanabilir veya yazılarınız içerinde de kullanabilirsiniz.


<style>
.image-box {
width:280px;height:280px;overflow:hidden;background-color:white;
border:1px solid #ccc;float:left;margin:1px 1px;
font:normal normal 12px/1.4 Segoe,"Segoe UI",Arial,Sans-Serif;
color:#333;
}
.image-container,
.image-details {height:280px;border:5px solid white;background-color:#ffc;
transition:margin-top .4s ease-out .4s;
}
.image-container img {
width:280px;height:280px;padding:0 0;margin:0 0;border:none;outline:none;max-width:none;
max-height:none;
background-color:black;
}
.image-details h4,
.image-details p {
margin:0 0 .2em;padding:0 0;height:70px;
}
.image-details h4 {
font-size:120%;height:auto;
}
.image-details .details {
padding:10px 12px;overflow:hidden;
}

.image-details .more {
color:white;text-decoration:none;display:block;
text-align:center;font-weight:bold;background-color:#f9a;height:26px;line-height:26px;margin:10px 0 0;
}

.image-box:hover {border-color:#bbb; width:280px;
height:280px;}
.image-box:hover .image-container {margin-top:-160px}
.image-details .more:hover {background-color:black}
</style>

<div class="image-box-wrapper" id="image-box-wrapper">
<div class="image-box">
<div class="image-container">
<img width="280" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEBCJ3lcapgEDqQ1yKQH5xhhI1zSEpMfNdQCAW5lIv-87Ml0LDxIsXmWNk_5NrOzvcqZe7AeMOj9os5HpyeVPxcAK3LSax1hWfdMs6SCcbzOK-Cv5k29z9qrxUTOgmlxM7u6ytvGDPdBA/s1600/3.jpg" alt="Food">
</div>
<div class="image-details">
<div class="details">
<h4>Lorem Ipsum</h4>
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy...</p>
<p><a class="more" href="Post Link ">More</a></p>
</div>
</div>
</div>


<div style="clear:both;"></div>

</div>

Kod içerisinde düzenleyecek olduğunuz kısımlar;
Kırmızı renkli kısım resim eklenecek olan bölümdür.
Mavi kısım ise resim açıklamasına ait metin kısmıdır.
Yeşil bölüm ise link eklenecek bölümdür.
Ve turuncu kısım ise linkinizi yönlendirecek butondur.

İkinci bir seçenek;

<style>

#bt_imageeffect {

margin: 20px auto;

width: 100%;min-height: 300px; padding: 20px 0;

text-align: center;

}

.galleryItem {

display: inline-block;;

position: relative;

width: 250px; height: 250px;

padding: 0;margin: 0 20px;

border: solid 10px #fff;



-webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);

box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);

}

.galleryItem img {

width: 250px;height: 250px;

}

.caption {

position: relative;

display: inline-block;

width: 250px; height: 250px;

z-index: 10;

}

.caption::before {

content: attr(data-title);

position: absolute;top: 0; left: 0;

width: 250px; height: 0;

font-family: 'Croissant One', cursive;

font-size: 1.8em;font-weight: 600;

line-height: 1.4em;color: #086FA1;

background: #fff;

overflow: hidden;

-webkit-transition: all 0.9s ease;

-moz-transition: all 0.9s ease;

-ms-transition: all 0.9s ease;

-o-transition: all 0.9s ease;

transition: all 0.9s ease;

}

.caption::after {

content: attr(data-description);

position: absolute;

bottom: -0;left: 0;

width: 250px;height: 0;

font-family: 'Poiret One', cursive;

font-size: 1.1em;

font-weight: 400;

line-height: 1.4em;color: #fff;

background: #222;

overflow: hidden;



-webkit-transition: all 0.9s ease;

-moz-transition: all 0.9s ease;

-ms-transition: all 0.9s ease;

-o-transition: all 0.9s ease;

transition: all 0.9s ease;

}

.caption:hover::before {

height: 125px;

}

.caption:hover::after {

bottom: 0;height: 125px;

}

</style>



<div id="bt_imageeffect">



<li class="galleryItem">

<a class="caption" data-description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce id sapien condimentum, sagittis erat rhoncus, bibendum nisi." data-title="Nature Scene" href="https://draft.blogger.com/blogger.g?blogID=1758408898395549933#">

<img alt="Nature Scene" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNbzsrdj01pgcb2LOxglSmUJzAnLbeHQRAYDBuC-yWG79TIvvVe3Fm0RG_aik2lLKN33YgGU4cafDmHKhooqJxgro7efMKay2GY3QGdI_94oNrkcSBEGVOFq3Q0OK00nJcTRcuerlySCY/s1600/Green+Nature+Wallpapers.jpg" />

</a></li>




<li class="galleryItem">

<a class="caption" data-description="Vivamus ut sem id magna consequat porta vitae ut sem. Proin eget commodo risus, vitae blandit velit. " data-title="SunFlower" href="https://draft.blogger.com/blogger.g?blogID=1758408898395549933#">

<img alt="Sunflower" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxOYmRH32umFlav_xoLuw9jdVIK0NFNy1fmoAgBNaGyqMWXkdmlXTktazQT48GrthyphenhyphendjW_cqdEYUYWB7h_EMEw8oqGwkDsl510oX4b-DDiJpHJgk8or_oW4Dzv6uME4e0nfOQvV4vOWCE/s1600/nature_3.png" />

</a></li>
</div>

Blogumuza Abone Olun
Yeni Yazılar e-posta Adresinize Gelsin

Not: Gelen Maili Aktif Etmeyi Unutmayınız!

Hiç yorum yok:

Yorum Gönder