Gallery CSS3 Efek Hover Pada Gambar di Blog – untuk membuat efek hover pada tutorial ini terdapat 5 type hover yang berbeda sehingga untuk membuat hover image pada blog anda mempunyai banyak pilihan. Dibawah sudah saya sediakan 5 type kode CSS untuk image hover yang dapat anda pilih untuk kemudian dimasukan kedalam template blog dan mempercantik tampilan gallery image pada blog anda. Untuk memilih kode yang cocok untuk diterapkan kedalam blog, terlebih dahulu lihat demo gallery dan pilih pada type gallery tersebut jika sudah cocok kemudian masukan kode CSS yang ada dibawah kedalam template blog anda. Setelah itu kemudian anda dapat dengan mudah membuat gallery di postingan dengan hover yang sudah anda pilih tersebut. Terdapat 5 demo image hover yang berbeda dan silahkan anda lihat pada button demo dibawah. Untuk membuat gallery image hover maka berikut adalah tutorialnya untuk cara menerapkan Gallery CSS3 Efek Hover Pada Gambar di Blog:
1. Login ke akun blogger.
2. Copy kode CSS dibawah ini kemudian klik Template > Sesuaikan > Tingkat Lanjut > Tambahkan CSS (paste kode CSS didalam kolom tersebut).
1. Login ke akun blogger.
2. Copy kode CSS dibawah ini kemudian klik Template > Sesuaikan > Tingkat Lanjut > Tambahkan CSS (paste kode CSS didalam kolom tersebut).
.view {
width: 250px;
height: 200px;
margin: 10px;
float: left;
border: 5px solid #fff;
overflow: hidden;
position: relative;
text-align: center;
box-shadow: 0px 0px 5px #aaa;
cursor: default;
}
.view .mask, .view .content {
width: 250px;
height: 200px;
position: absolute;
overflow: hidden;
top: 0;
left: 0;
}
.view img {
display: block;
position: relative;
}
.view a.info {
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjIM138lEVbrN7ADU9wtvL1ALV5xm1xcSSuoNwiPPEXlFrdCIhrqL62JRugLuhVMrVMnrm6QUgWw-uth3zzgBpLHOe_1tcZjF5Y0K0sIspdf0UshjtWLWvy97m-xU7s87jdo38wW_0sJQS/s20-no/link.png) center no-repeat;
display: inline-block;
text-decoration: none;
padding:0;
text-indent:-9999px;
width:20px;
height:20px;
}
.effect img {
opacity:1;
-moz-transform:scale(1,1);
-webkit-transform:scale(1,1);
-o-transform:scale(1,1);
-ms-transform:scale(1,1);
transform:scale(1,1);
-webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
transition: all 0.2s ease-in;
}
.effect .mask {
opacity:0;
overflow:visible;
border-color:rgba(0,0,0,0.7) transparent transparent transparent;
border-style:solid;
border-width:125px;
width:0;
height:0;
-moz-transform:translateY(-125px);
-webkit-transform:translateY(-125px);
-o-transform:translateY(-125px);
-ms-transform:translateY(-125px);
transform:translateY(-125px);
-moz-transition: -moz-transform 0.2s 0.1s ease-out, opacity 0.3s ease-in-out;
-webkit-transition: -webkit-transform 0.2s 0.1s ease-out, opacity 0.3s ease-in-out;
-o-transition: -o-transform 0.2s 0.1s ease-out, opacity 0.3s ease-in-out;
-ms-transition: -ms-transform 0.2s 0.1s ease-out, opacity 0.3s ease-in-out;
transition: transform 0.2s 0.1s ease-out, opacity 0.3s ease-in-out;
}
.effect a.info {
opacity:0;
-moz-transform:translateY(-125px);
-webkit-transform:translateY(-125px);
-o-transform:translateY(-125px);
-ms-transform:translateY(-125px);
transform:translateY(-125px);
-moz-transition: -moz-transform 0.3s ease-in, opacity 0.1s ease-in-out;
-webkit-transition: -webkit-transform 0.3s ease-in, opacity 0.1s ease-in-out;
-o-transition: -o-transform 0.3s ease-in, opacity 0.1s ease-in-out;
-ms-transition: -ms-transform 0.3s ease-in, opacity 0.1s ease-in-out;
transition: transform 0.3s ease-in, opacity 0.1s ease-in-out;
}
.effect:hover img {
opacity:0.7;
-moz-transform:scale(2,2);
-webkit-transform:scale(2,2);
-o-transform:scale(2,2);
-ms-transform:scale(2,2);
transform:scale(2,2);
}
.effect:hover .mask {
opacity: 1;
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-o-transform: translateY(0px);
-ms-transform: translateY(0px);
transform: translateY(0px);
}
.effect:hover a.info {
opacity:1;
-moz-transform:translateY(100px);
-webkit-transform:translateY(100px);
-o-transform:translateY(100px);
-ms-transform:translateY(100px);
transform:translateY(100px);
}
3. Klik Terapkan ke Blog.
Perlu di Perhatikan : Untuk menaruh kode CSS tidak harus seperti langkah di atas, bisa juga dengan cara klik Template > Edit HTML > lalu cari kode ]]></b:skin> kemudian paste kode CSS tersebut tepat di atasnya / sebelum kode ]]></b:skin> lalu klik Simpan Template.
4. Selanjutnya untuk menampilkan Gallery CSS3 Efek Hover Pada Gambar di Blog caranya copy kode HTML dibawah ini, kemudian paste kode tersebut pada kolom posting mode HTML lalu klik Publikasikan.
Perlu di Perhatikan : Untuk menaruh kode CSS tidak harus seperti langkah di atas, bisa juga dengan cara klik Template > Edit HTML > lalu cari kode ]]></b:skin> kemudian paste kode CSS tersebut tepat di atasnya / sebelum kode ]]></b:skin> lalu klik Simpan Template.
4. Selanjutnya untuk menampilkan Gallery CSS3 Efek Hover Pada Gambar di Blog caranya copy kode HTML dibawah ini, kemudian paste kode tersebut pada kolom posting mode HTML lalu klik Publikasikan.
<div class="view effect">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaAIVJN-rx87UQZVoTuPc1jdiQRXpzdMsZ4Q-u5p8sN7H0OPAbka3iEcknobMQAH21sdip78-xPLGXA_rG4RqNMemWvZzc2hiuEMNRMFxA1f1OZ07b49eKCHsixIgoQf6AJQz7wK4me-I/w250-h200-no/Faceblog+Evolutions+%25288%2529.jpg" />
<div class="mask"></div>
<div class="content">
<a href="http://mas-andes.blogspot.com" class="info" title="Full Image">Full Image</a>
</div>
</div>
<div class="view effect">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixPLpgaJGuF0-VkABjwlBKxFZw8KPEa3Dh2AoSsPfO0HKWv2KROVZ7xyPYoynd07QweEnQgK-9WBmfKRJiqoljmyBTQe8TCCUiT4wRWuPhFYwY8t-YT7XF5VCx3HQ8ciYgmMIzpsODKAI/w250-h200-no/Faceblog+Evolutions+%25287%2529.jpg" />
<div class="mask"></div>
<div class="content">
<a href="http://mas-andes.blogspot.com" class="info">Read More</a>
</div>
</div>
<div class="view effect">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdXsg104FCseUgSl-wYUblz0eQ0kN2tLobA2sEECghVgACeuq2RCoFhsanvi74zhrNsD1-9rbdWE9Kts1kujLhGjxzoLjER4JWQ3KMmqIDUUpjSA_S6Xy3oiOEoHPR3NOPLDHrM9GHyeo/w250-h200-no/Faceblog+Evolutions+%25285%2529.jpg" />
<div class="mask"></div>
<div class="content">
<a href="http://mas-andes.blogspot.com" class="info">Read More</a>
</div>
</div>
<div class="view effect">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheD3Pn6cYqNqK75BWb005MlDtkf8CrbWZe0qSxaHrlqstNZAH31NLm9YZmeWCtcrLpYV7sXbizE1RqTN9uCppQ9EXJdim3mCwwPOtofXV5FgWhfVt1z6lsvnVUcV0H1Apqn1_V3dj0ZYI/w250-h200-no/Faceblog+Evolutions+%25286%2529.jpg" />
<div class="mask"></div>
<div class="content">
<a href="http://mas-andes.blogspot.com" class="info">Read More</a>
</div>
</div>
Keterangan:
- Ganti "http://mas-andes.blogspot.com" dengan URL halaman yang di inginkan.
- Diatas adalah untuk efek hover type 1, untuk membuat type 2-5 seperti pada halaman demo maka silahkan copy kode dibawah ini dan cara pemasangannya seperti langkah diatas.
Kode Efek Hover Type 2
CSS
CSS
.view {
width: 250px;
height: 200px;
margin: 10px;
float: left;
border: 5px solid #fff;
overflow: hidden;
position: relative;
text-align: center;
box-shadow: 0px 0px 5px #aaa;
cursor: default;
}
.view .mask, .view .content {
width: 250px;
height: 200px;
position: absolute;
overflow: hidden;
top: 0;
left: 0;
}
.view img {
display: block;
position: relative;
}
.view a.info {
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjIM138lEVbrN7ADU9wtvL1ALV5xm1xcSSuoNwiPPEXlFrdCIhrqL62JRugLuhVMrVMnrm6QUgWw-uth3zzgBpLHOe_1tcZjF5Y0K0sIspdf0UshjtWLWvy97m-xU7s87jdo38wW_0sJQS/s20-no/link.png) center no-repeat;
display: inline-block;
text-decoration: none;
padding:0;
text-indent:-9999px;
width:20px;
height:20px;
}
.second-effect .mask {
opacity: 0;
overflow:visible;
border:0px solid rgba(0,0,0,0.7);
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
box-sizing:border-box;
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
-ms-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
}
.second-effect a.info {
position:relative;
top:-10px;
opacity:0;
-moz-transform:scale(0,0);
-webkit-transform:scale(0,0);
-o-transform:scale(0,0);
-ms-transform:scale(0,0);
transform:scale(0,0);
-webkit-transition: -webkit-transform 0.2s 0.1s ease-in, opacity 0.1s ease-in-out;
-moz-transition: -moz-transform 0.2s 0.1s ease-in, opacity 0.1s ease-in-out;
-o-transition: -o-transform 0.2s 0.1s ease-in, opacity 0.1s ease-in-out;
-ms-transition: -ms-transform 0.2s 0.1s ease-in, opacity 0.1s ease-in-out;
transition: transform 0.2s 0.1s ease-in, opacity 0.1s ease-in-out;
}
.second-effect:hover .mask {
opacity: 1;
border:100px solid rgba(0,0,0,0.7);
}
.second-effect:hover a.info {
opacity:1;
-moz-transform:scale(1,1);
-webkit-transform:scale(1,1);
-o-transform:scale(1,1);
-ms-transform:scale(1,1);
transform:scale(1,1);
-moz-transition-delay:0.3s;
-webkit-transition-delay:0.3s;
-o-transition-delay:0.3s;
-ms-transition-delay:0.3s;
transition-delay:0.3s;
}
HTML
<div class="view second-effect">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxdu2PExwQvznIzjLJ5irhgTjvYu8xzgwfC1xrJsOnkwU5aK2MXGqFFCf6BjH62TqqT6zMBaRXYuR8kVIQKCk-ja6JnTA1cOKPidrT-kMmLERv5tEskAWr8nNmAM04fF1BwTQ7qagT2F4/w250-h200-no/Faceblog+Evolutions+%25289%2529.jpg" />
<div class="mask">
<a href="http://mas-andes.blogspot.com" class="info">Read More</a>
</div>
</div>
<div class="view second-effect">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMJRGSoMtPQchagsGvqkQ2nfF2WhuE2PIE2s9Lj7v_xemPyzowrYb-3cBSYetVzbCsr91iCAIgtTuZnO9ZlR6XlMv6he-asGIElggpXk0j90ffBqyo2SNqWadzukYylNpO5Bp8wHYLKNs/w250-h200-no/Faceblog+Evolutions+%252819%2529.jpg" />
<div class="mask">
<a href="http://mas-andes.blogspot.com" class="info">Read More</a>
</div>
</div>
<div class="view second-effect">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcYz2zmFWgEhWGiXZVh2lUwZ7BwJMKoJFFOKhC0i2uzyBJcWZvO5kv-D1OdomN1skB_dF174omfBJ2SsMqUlZKaQ4IJEf8lCRa5HuBdOIOYXpqK-wJKNlaQiSUKCqairVyGoxSVrJGkME/w250-h200-no/Faceblog+Evolutions+%252820%2529.jpg" />
<div class="mask">
<a href="http://mas-andes.blogspot.com" class="info">Read More</a>
</div>
</div>
<div class="view second-effect">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRF0TI9wtGj-I6pGItMq2D_S4I4ha3ltULkwLYT8CrvTshCs0rA9YNF5So07qlz_QUzQgfUMhyphenhypheniWK4gBpyibJksb5WUoUzGPvdXRtR4bQo8r2_76KlBTotjkLH8OqPQAszuqBQVaBs86o/w250-h200-no/Faceblog+Evolutions+%252818%2529.jpg" />
<div class="mask">
<a href="http://mas-andes.blogspot.com" class="info">Read More</a>
</div>
</div>
Kode Efek Hover Type 3
CSS
CSS
.view {
width: 250px;
height: 200px;
margin: 10px;
float: left;
border: 5px solid #fff;
overflow: hidden;
position: relative;
text-align: center;
box-shadow: 0px 0px 5px #aaa;
cursor: default;
}
.view .mask, .view .content {
width: 250px;
height: 200px;
position: absolute;
overflow: hidden;
top: 0;
left: 0;
}
.view img {
display: block;
position: relative;
}
.view a.info {
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjIM138lEVbrN7ADU9wtvL1ALV5xm1xcSSuoNwiPPEXlFrdCIhrqL62JRugLuhVMrVMnrm6QUgWw-uth3zzgBpLHOe_1tcZjF5Y0K0sIspdf0UshjtWLWvy97m-xU7s87jdo38wW_0sJQS/s20-no/link.png) center no-repeat;
display: inline-block;
text-decoration: none;
padding:0;
text-indent:-9999px;
width:20px;
height:20px;
}
.third-effect .mask {
opacity: 0;
overflow:visible;
border:100px solid rgba(0,0,0,0.7);
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
box-sizing:border-box;
-webkit-transition: all 0.4s ease-in-out;
-moz-transition: all 0.4s ease-in-out;
-o-transition: all 0.4s ease-in-out;
-ms-transition: all 0.4s ease-in-out;
transition: all 0.4s ease-in-out;
}
.third-effect a.info {
position:relative;
top:-10px;
opacity: 0;
-webkit-transition: opacity 0.5s 0s ease-in-out;
-moz-transition: opacity 0.5s 0s ease-in-out;
-o-transition: opacity 0.5s 0s ease-in-out;
-ms-transition: opacity 0.5s 0s ease-in-out;
transition: opacity 0.5s 0s ease-in-out;
}
.third-effect:hover .mask {
opacity: 1;
border:100px solid rgba(0,0,0,0.7);
}
.third-effect:hover a.info {
opacity:1;
-moz-transition-delay: 0.3s;
-webkit-transition-delay: 0.3s;
-o-transition-delay: 0.3s;
-ms-transition-delay: 0.3s;
transition-delay: 0.3s;
}
HTML
<div class="view third-effect">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhVwtpeN2j3wLJzMBAIKL1nW1QJaiaUSIZiKdxlD23hDscJV11PwKtpV2NMpl9ANrQ1W648tAVYH58DPDMrFwuEriiD_nd0nyvIaFQEI4849sZ_dWjb0FmzmaFz21x2q5T47oI0AfWUSk/w250-h200-no/Faceblog+Evolutions+%252817%2529.jpg" />
<div class="mask">
<a href="http://mas-andes.blogspot.com" class="info">Read More</a>
</div>
</div>
<div class="view third-effect">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitJQ3z7S3nf5OQ6nsE_ajavDEp5fr_3YRp3QatovzmMiMixivpE_rPC_ExWlsO1CxwiiWk1_lL5lU_lsPWncjzJcrliezpVKPXKjjZIHprkzMgpKelZEeMEpR9nX9VqLUT0Ms1fs4BnoY/w250-h200-no/Faceblog+Evolutions+%252816%2529.jpg" />
<div class="mask">
<a href="http://mas-andes.blogspot.com" class="info">Read More</a>
</div>
</div>
<div class="view third-effect">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9M2PUscWNh26G8ic9PQX0nzdpEm7kepZWq7ZvMbRxhDRwL9SIXyOPBmAub8xsQA8kmSel6pFRSjdDimLfdK39tBhKKWbAbZna_fBcx7QTm_hcaNl1lQVxB22F7jxJC6zg4-HoTe_XiwI/w250-h200-no/Faceblog+Evolutions+%252815%2529.jpg" />
<div class="mask">
<a href="http://mas-andes.blogspot.com" class="info">Read More</a>
</div>
</div>
<div class="view third-effect">
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXmXDscJz8wP-fDF54QqW9jsJ6M0tCUaVOdzKllP9G9ylsKM8Pc7ppjgfYnu2fUj9ZHuSYHnvmV_rm_s42TCyj89ANRoSIOG_jjg6duqx51pqWVvVQfSYivUBdANzn1Hub8GAhwjAkjns/w250-h200-no/Faceblog+Evolutions+%252814%2529.jpg" />
<div class="mask">
<a href="http://mas-andes.blogspot.com" class="info">Read More</a>
</div>
</div>
Kode Efek Hover Type 4
CSS
CSS
.view {
width: 250px;
height: 200px;
margin: 10px;
float: left;
border: 5px solid #fff;
overflow: hidden;
position: relative;
text-align: center;
box-shadow: 0px 0px 5px #aaa;
cursor: default;
}
.view .mask, .view .content {
width: 250px;
height: 200px;
position: absolute;
overflow: hidden;
top: 0;
left: 0;
}
.view img {
display: block;
position: relative;
}
.view a.info {
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjIM138lEVbrN7ADU9wtvL1ALV5xm1xcSSuoNwiPPEXlFrdCIhrqL62JRugLuhVMrVMnrm6QUgWw-uth3zzgBpLHOe_1tcZjF5Y0K0sIspdf0UshjtWLWvy97m-xU7s87jdo38wW_0sJQS/s20-no/link.png) center no-repeat;
display: inline-block;
text-decoration: none;
padding:0;
text-indent:-9999px;
width:20px;
height:20px;
}
.fourth-effect .mask {
position:absolute; /* Center the mask */
top:50px;
left:100px;
cursor:pointer;
border-radius: 50px;
border-width: 50px;
display: inline-block;
height: 100px;
width: 100px;
border: 50px solid rgba(0, 0, 0, 0.7);
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
box-sizing:border-box;
opacity:1;
visibility:visible;
-moz-transform:scale(4);
-webkit-transform:scale(4);
-o-transform:scale(4);
-ms-transform:scale(4);
transform:scale(4);
-moz-transition:all 0.3s ease-in-out;
-webkit-transition:all 0.3s ease-in-out;
-o-transition:all 0.3s ease-in-out;
-ms-transition:all 0.3s ease-in-out;
transition:all 0.3s ease-in-out;
}
.fourth-effect:hover .mask {
opacity: 0;
border:0px solid rgba(0,0,0,0.7);
visibility:hidden;
}
HTML
<div class="view fourth-effect">
<a href="http://mas-andes.blogspot.com"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIWF0pHOQoYQjK4RgJvPeDnf0i_PXHPeOmRbX1j6TNvqQ0T81zvA8W4Ksoijc6a9WAM5MTvClw61yQqJqZ3DsWMDzzM7Vgf7zzPMz7Neekh24IgJM7UbKNDoWl2zIQboEhgYph__iRhuk/w250-h200-no/Faceblog+Evolutions+%252813%2529.jpg" /></a>
<div class="mask"></div>
</div>
<div class="view fourth-effect">
<a href="http://mas-andes.blogspot.com"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR3lvOx1Q8CgOMUNEnBv4YTYI0ZRalOdEI0Cmz8ftXu3xUo9DRKVcHDusl0ZUANNEzBTiaadqKnoCcJEuEoP_D9gWjnPLhjU0zmDWHf48Pk-AhCi0ASUzB8Y-7dYeXW6jkybuOvkA6-q4/w250-h200-no/Faceblog+Evolutions+%252811%2529.jpg" /></a>
<div class="mask"></div>
</div>
<div class="view fourth-effect">
<a href="http://mas-andes.blogspot.com"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMR9sB7vVVPgKdBbz6ZPgtBBHeGxdkz3a0xCI1gwlI0m12VCPnb7htdBpRGCW-fe2P6Y-zxOYGgYOrf7YGNUki6lr1GzB7wTawJNAtkdgaMU2_PoDh3x7-IN3KQ3-YoCh84P0L1Url5Zk/w250-h200-no/Faceblog+Evolutions+%252812%2529.jpg" /></a>
<div class="mask"></div>
</div>
<div class="view fourth-effect">
<a href="http://mas-andes.blogspot.com"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHqyYXvhI-rEr4YVbGqBLnX8974ILJDKaWffzwYWX-ws-SAzfkgshYXr-NJRJ7T8TqnG-nuDQ8vospx30pr8YQ3VrR6ap3hMFuh9b05i-Ns_GN4ncsJdCeUfYHWmRIIAuy_c6C9IZGRBw/w250-h200-no/Faceblog+Evolutions+%252810%2529.jpg" /></a>
<div class="mask"></div>
</div>
Kode Efek Hover Type 5
CSS
CSS
.view {
width: 250px;
height: 200px;
margin: 10px;
float: left;
border: 5px solid #fff;
overflow: hidden;
position: relative;
text-align: center;
box-shadow: 0px 0px 5px #aaa;
cursor: default;
}
.view .mask, .view .content {
width: 250px;
height: 200px;
position: absolute;
overflow: hidden;
top: 0;
left: 0;
}
.view img {
display: block;
position: relative;
}
.view a.info {
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjIM138lEVbrN7ADU9wtvL1ALV5xm1xcSSuoNwiPPEXlFrdCIhrqL62JRugLuhVMrVMnrm6QUgWw-uth3zzgBpLHOe_1tcZjF5Y0K0sIspdf0UshjtWLWvy97m-xU7s87jdo38wW_0sJQS/s20-no/link.png) center no-repeat;
display: inline-block;
text-decoration: none;
padding:0;
text-indent:-9999px;
width:20px;
height:20px;
}
.fifth-effect img {
opacity:0.2;
-moz-transition: all 0.3s ease-in;
}
.fifth-effect .mask {
cursor:pointer;
opacity:1;
visibility:visible;
border:100px solid rgba(0,0,0,0.7);
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
box-sizing:border-box;
-moz-transition: all 0.4s cubic-bezier(0.940, 0.850, 0.100, 0.620);
}
.fifth-effect:hover .mask {
border:0px double rgba(0,0,0,0.7);
opacity:0;
visibility:hidden;
}
.fifth-effect:hover img {
opacity:1;
}
HTML
<div class="view fifth-effect">
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ8FS5bZGXMX9TDKNLQdn28lm5yS0eOZ15rnhKD26hqfOxmyZVyDssKlPFkYNigbtSl6SabYZUbClpLxVqJsdtV5XNmfGt7XENTKardKztURDLiCRREpOX-YbHqdfAtUvarN-ToibJels/w300-h200-no/Faceblog+Evolutions+%25284%2529.jpg" /></a>
<div class="mask"></div>
</div>
<div class="view fifth-effect">
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbML_9QeXQb0GB_7FQqbpDevHZROdCEqqfxnpdeZbXGo5xehoKQEnatMKJy4pYryHgWnVsBHBngE_UFw9HUcTsVhndpG7C5_9iUDUMjXCD4HBhhitXkvEOcBE4vtKS3FfaHv4zI5C9Sio/w300-h200-no/Faceblog+Evolutions+%25283%2529.jpg" /></a>
<div class="mask"></div>
</div>
<div class="view fifth-effect">
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiTvFd8PjGdYeQK5TMM_kkvQ46opPES5NcEnNqHXRBUr9xAt6kukbA0vt-yGAjmnW2bEe_0CgnRr2u_O4vQJSUZoDq7sFMs90AlRJ9gXWTmcMn5zYivr6IyftmpDMjRlyPmvFjvIMmDng/w300-h200-no/Faceblog+Evolutions+%25282%2529.jpg" /></a>
<div class="mask"></div>
</div>
<div class="view fifth-effect">
<a href="#"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcfHmxbOnrRQhpSMUMwATLJmb5w5xmyvwWvN3TvBFyVsItQDM9W4zdF_IP_s2w4rNuMq1uto8QUWIoPLwix2EnSL054TaOSeXboS7g4qBp02T0X5nfaXatvcmNNLVxpblVhumADWvQhzY/w300-h200-no/Faceblog+Evolutions+%25281%2529.jpg" /></a>
<div class="mask"></div>
</div>
25 Response to "Gallery CSS3 Efek Hover Pada Gambar di Blog"
banyak banget kreasinya mas,,,,ndak susah tuh bikinnya. idenya selalu baru
Balaskode CSS nya tidak bikin loading blog kan Sob,,,hm kapan kapan saya akan coba praktek di blog saya juga Sob,,,
BalasBolej juga nih infonya, izin nyimak dan comot ya sohib...
BalasTq sudah berbagi dan semoga sehat dan sukses selalu ya...
keren banget mas bro,wajib dicoba nih,,,
Balasyang keempat lucu.. kayak di air,, tapi ini jadi manual ya, harus ngasi kode setiap postingan.
BalasKeren abis mas..tutornya :)
BalasBtw..jd ga konsen nih utak atik kodenya....
Kalo sambil ngeliat foto screenshotnya...wkwk :D
bagus sekali artikelnya sobat, sangat bermanfaat
Balaskeren mas.... tapi mamang puyeng ah kutak katik nya belum paham masalah css dan html '''' baca lagi ah siapa tau sekarang paham
BalasWah memang mantap sekali sobat, sayangnya saya mengotak atiknya agak payah juga dan belum berhasil, mungkin perlu dicoba terus kali ya sob. okelah pokoknya tutorialnya sangat berguna dan bermanfaat sekali sobat
Balasterima kasih sudah berbagi
kalo langsung di terapin di Templatenya, tanpa kode pemanggil div class. Menurut saya lebih praktis sob, cuma kita harus menyesuaikan templatenya juga hehe :D
Balastutor mantap....bisa dicobat nih buat blog ane yang baru...salam knal dan salam sukses semua ya..
Balasijin belajar sobat siapa tau bisa hehehe,,,makasih sudah berbagi trik
Balasjadi lebih terlihat keren dengan hover ya sobat...
Balasmas andes memang Top deh.. hehehe.. :)
BalasWah mantap dan keren dengan efek CSS3nya. Terima kasih Mas tutornya.
BalasCSS3, apapun jika sudah disentuhnya mesti keren :D
BalasPengen deh sekali" gtu klo comment di blognya mas andes it panjang .
BalasTp apalah daya ga pernah nyambung . Hehe maklumin aja ya mas :D
keren banged deh klo soal otak atik CSS bgtuan mah emng mas andes gda duanya ..
ckckck...mantep wal hebat nih si mas ...tak praktek dulu ahhh
Balasmantap mas, sambil jalan-jalan nambah pengetahuan tentang yang beginian...
Balaswah.. mantep... buanyak pilihan... nih... gak ribet bikinya mas?????
Balashadir di malam minggu sobat apakabar?
Balastype 4 tidak berfungsi Bos,padahal sudah sesuai dg scripnya.
Balaskeren banget gan :D
Balaskapan2 mampir ya http://nandarious.blogspot.com/
bagus nih efek dari css3 untuk memperindah tampilan blog.
Balasoh..ya..., saya follow nih blog sukses 106
keren mau coba tapi pas banyak css, trus takut dampak ke load blog
Balas