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/AVvXsEielsO4sOxDkCIYVC4D4M_HRjkLZ2oAnlN2KRjszeIMc_u29hdeS79aeclmdD4WKeM1QUKqH-aaYQQ_xrwSBFmTfTBvO7vxWYKtwDWIkcKrdH6H4OsEPVVB62UNuSLC03hignBYgjAUbNEE/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/AVvXsEgYFUOIYLSq51Dm04JdLr41CYkAYiNzpLOILpX_qTwX7P5koNCMs6wDgbmIz_jLxKvx8QD7_q3VlyOimCi8-yXalpiruD5R_lzxGZBkyecj6AcRcxiFd0vH6b6ipkxHF8SJ42PuZa0biR4/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/AVvXsEhUlLPryWC6M-6SRVNeMFbng5BaB4l3J09aYSyfxoBwudvwIgvV7EA6AC8CznaDCl6Cu1N1QX9Tmfq2CujBUZYdJCw15FIVbfb-IRrJ5h11TPWQvx09shdnll0gDlo4IeFnYMOrWDEb6Yw/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/AVvXsEgugLQ4FQ0YDhrPO1ngRrTvJcOPWVMNWaR9DWhaAvwo4i15YvyMDlsSl8sOVgVOixVlnmvIcZZRS5m2W5dXjMkZ7204uUPQuVITX7YBizMTcQxGhnSCDVOhXVVL_EK3zAa4nTaJ3TMM04Y/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/AVvXsEh3c74NeBxfWRAHOZg00xXeBL8S2uQtJm9P-7yseSYKnh1rgwkf1C9uY3b1eShYmRp2DgHpNGKAijn_7pjT3WzSsSuPiOnecOheHYIc6lFNwtH3Y9a6ORrj_BqhJSDw2o3SKU0kmGN6n60/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/AVvXsEielsO4sOxDkCIYVC4D4M_HRjkLZ2oAnlN2KRjszeIMc_u29hdeS79aeclmdD4WKeM1QUKqH-aaYQQ_xrwSBFmTfTBvO7vxWYKtwDWIkcKrdH6H4OsEPVVB62UNuSLC03hignBYgjAUbNEE/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/AVvXsEhQLtJwaY9j9y6WktVicvTPxtuVyv1amiXAhuTnXjddce7agquko5yQkW4PtXp5ETyjC23G39SwzEsEX2qLV98EeF-38P1VXivfGMqEUsudGHR0Xl-qmUkjY_PwVIdhS7De4Hyp4tEscds/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/AVvXsEjQNtBGGPwbmRitZjTFvQBFQTRQAQIb75tJKR0HqamcmbFcTyvCSVWDz-vzU2XpzH9m9AazB6vXbLyWlRg4_tsgArcngnsPyVGKWCsSOtSH_7Rf_Y2WGYS35CCo-J0TmgKrmOIOR-YAHj0/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/AVvXsEi835dzu2dLNbEdCcJL98uxrsg50G9iO9Fp0r4L9YQGe-budIZAgRdU-p-5ndWeCNg1nODsKjxuJeSvBOcmgTDi2Gl_8atDvZIxIb38CDzWIs7Ccd-CiPvxJhTmdyjMYDtkvib0AQlZ0KE/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/AVvXsEiCGAuBENNAPSyKvqKm2wkuNzRgthq9Oa-s4qjEVrznB_JS2gjOHNVRgWAMtqIQfMmXv1-bKZIYpISzP58Q0vgFCSz2NFh7ZNFSNvKzwA4iIQ154LZ0Lic5FIcmyoWqklZtcNjbsrFpVrk/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/AVvXsEielsO4sOxDkCIYVC4D4M_HRjkLZ2oAnlN2KRjszeIMc_u29hdeS79aeclmdD4WKeM1QUKqH-aaYQQ_xrwSBFmTfTBvO7vxWYKtwDWIkcKrdH6H4OsEPVVB62UNuSLC03hignBYgjAUbNEE/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/AVvXsEjDa_Jsx1X9hh6vfhWXRAEShMWzOKfY5SDoKGDNwg9spn5oGI8C2GTKaz5zqfrZ3JxMr4TAiI8nc8i775qKobq9WHEpQ1lCQbdZSoQ7meloHe6nCAKgPMk7YOOSIDawAXG4Nq4g0AVWi9c/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/AVvXsEh0hAuOC_hbolvQd6WVDWwEGVn3EapLEV2kJIAY7Y-RdbHmWVKqkAoQ-CE1y8IBHec7ytqIBQIklM_lvRohs5s_0-_DaYW-Ci9Dx5jAt4sIAsLU81QarPiwvC4_L_78qJm9XwWFLeYEhMU/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/AVvXsEgW4Im6t6c2j55jwW4DkczTh4A2ZocYCHhO_KGAyF7qDfiFW4Kr7TjMyZJw2jP7JTE6SWGJlpom7CuVmEnNOemSkuVZoqg2fA-_C1RTk133SoWNqdTOpkjMgNbgUVjgeKcbg7JAAgSC1rI/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/AVvXsEig_OT81_eeyhVmX8oi0vxKbAZy3UeIPTTcQEix0E1cz0Lfmff3CStiWGP41Miu8UG1TlFWiDt8aVFsWi6eiV09ukn9HBOtCUUBbhhSRCkkSGJ3U2GIbLQc9qiKJFa_gqxjYn0XWvj8S4Y/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/AVvXsEielsO4sOxDkCIYVC4D4M_HRjkLZ2oAnlN2KRjszeIMc_u29hdeS79aeclmdD4WKeM1QUKqH-aaYQQ_xrwSBFmTfTBvO7vxWYKtwDWIkcKrdH6H4OsEPVVB62UNuSLC03hignBYgjAUbNEE/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/AVvXsEhhgI6V5HHBpalEjtC6CwsVlca8c85sgUWlCWlDK3xF-3w_OKAuR5xRDBisOUiyRKH-uTIYIOwPnognSysO-j90BCwuy91oVEIz3hyphenhyphenY890pFCrqSd8gvzHDjg1e65GfeMfEljhKH6uN7CU/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/AVvXsEhESENJZAIET5HCOTNJ0-ScjoT16TxFkq-j3_DNZies0CqfxZKZhe2_a-qwHyePkGOqozD0z7pqhp5okAjyEHZrt6rrK_QyJbJ0VKiDDc-If6t02bjBvDlFpZE8DrCSRCOGMy5uMq2x3No/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/AVvXsEghWW_pJjS5l1zRVSd7sXug5pO-WheAgQSy2IzdnZVVf_SENzvmF6rtX5VfOsNO8fwYz53Yx7_kSzDZJLF7iX4sAJW-MIXviewQERg3ozqCdwvh8SgEZrA9FTKAkio4uVprt99LInLXozw/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/AVvXsEgeVOfKY3FWO5JyPRMVj0fNsNpxBaFdHYpT_hqIzgragySvB1_pcumyLtUCxYFOP30U2qMpw8OfCKTu9jNCyuMuo1PbZdV3LxjY-8udX8NjnSmp_K0jHV7CzspTRBDEyUrEvtaG5a2thds/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/AVvXsEielsO4sOxDkCIYVC4D4M_HRjkLZ2oAnlN2KRjszeIMc_u29hdeS79aeclmdD4WKeM1QUKqH-aaYQQ_xrwSBFmTfTBvO7vxWYKtwDWIkcKrdH6H4OsEPVVB62UNuSLC03hignBYgjAUbNEE/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/AVvXsEiYPD9K8dSwIS1cu2AQGRcbnkJj8YLyXCgAxTDVJXiqv-1zfz1yaet1s_qaqgAqTko6q-z3R7zIxVXrM4WZvQfzRewnpksma8s09YUqpN9OHXxb1y7QOjaQ8sT9Q5ns42bDqzkBNUPXqt4/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/AVvXsEjvw_kSQLV6I_JJGadGbu2LRoRaML08ILDXZ-yyHiZZpiofipyLy6URUuVWLTmn3NtczB6hkz050oKhE-r_cOsVYHQF7m5zxa-MIAFqhu2r0gOzsKOd9gB57eIxjKtGUmie-3KTLOkdYd8/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/AVvXsEjwTmH44eeEMJ7qlYgpe_XadOOvYaCs89-4PMPyxvBHvWRxOCIwkmkGDjyO7wejhY6GNEw7mGtcea6OdTfGMRY_-atTfAA57a8DCew6R6sRaDe1B7iCc4-jfmaakTOSAFNcr8EqmCpANbk/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/AVvXsEgZwt902eUqXEnFaJ2vXYPjFLOPe_JEYX6L4xnt4ZzzCO4b0mLloRAL7icmHw8hcB_EIoMbSn8XbEYpMJLVhrxs6CHFvXu_MYewuJvI9DYN477MmilkLEByRk0YVqd2J1Ju5nTEJ7DxCZg/w300-h200-no/Faceblog+Evolutions+%25281%2529.jpg" /></a>
<div class="mask"></div>
</div>
0 comments:
Post a Comment