◄ Min  Size Fonts: + | - | ± Color: Max ►

Make Tint Effect for Image Used CSS3

Waktu jalan² ke perancis dapat trik membuat image agar terlihat berefekan tint model di photoshop. Gambar dilapisi warna magenta belekedek sehingga menimbulkan efek warna transparansi. Pusing neranginnya juga sob :)) Sekarang kita bisa lebih jauh menerobos trick tersebut, dengan memadukan variable CSS3 dan hover tentunya agar terlihat lebih cuamiq ;))
Please read it image tint effect with CSS3. Yang sobat perlu lakukan hanya membubuhi variabel CSS 3 berikut
.tint {
position: relative;
float: left;
margin: 10px;
-webkit-box-shadow: rgba(0,0,0,.2) 3px 5px 5px;
-moz-box-shadow: rgba(0,0,0,.2) 3px 5px 5px;
box-shadow: rgba(0,0,0,.2) 3px 5px 5px;
}
.tint:before {
content: "";
display: block;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0,255,255, 0.5);
-moz-transition: all .3s linear;
-webkit-transition: all .3s linear;
-ms-transition: all .3s linear;
-o-transition: all .3s linear;
transition: all .3s linear;
}
.tint:hover:before {
background: none;
}
.t2:before {
background: rgba(0,0,255, 0.5);
}
.t3:before {
background: rgba(255,0,0, 0.5);
}
.t4:before {
background: rgba(0,255,0, 0.5);
}
.t5:before {
background: rgba(255,0,240, 0.5);
}
.t6:before {
background: rgba(255,102,0, 0.6);
}
Pemanggilan/pemakaian/kode HTML disini memakai attribute tag <figure>
Lebih jauh kreasi yang dapat dihasilkan oleh si figure & figcaption atribut 3D photo rollover effect written by Chris Heilmann.
Sehingga nanti dalam memakainya sobat hanya perlu melakukan tagging seperti berikut<figure class="tint">
<img src="http://your-link-image.jpg" alt="" width="__px" height="__px">
</figure>

Kode HTML

<figure class="tint">
<img src="http://your-link-image.jpg" alt="" width="" height="">
</figure>

<figure class="tint t2">
<img src="http://your-link-image.jpg" alt="" width="" height="">
</figure>

<figure class="tint t4">
<img src="http://your-link-image.jpg" alt="" width="" height="">
</figure>

<figure class="tint t5">
<img src="http://your-link-image.jpg" alt="" width="" height="">
</figure>

<figure class="tint t3">
<img src="http://your-link-image.jpg" alt="" width="" height="">
</figure>

<figure class="tint t6">
<img src="http://your-link-image.jpg" alt="" width="" height="">
</figure>

Demo Tint Effect Used CSS3

Loading...
XMake Tint Effect for Image Used CSS3

Subscribe my posts Register For Free!

4 comments

[?] g+ convert

DO NOT EVEN TRY ADD LINK [-X
You can use some HTML tags, such as
<b> - <i> - <a> - http://...jpg/gif/png/bmp - http://youtu.be/...


MISC

Resources

WANT BE HERE!!! CONTACT ME :P

FACEBOOK PAGE