1. Đăng nhập vào tài khoản Blogger
2. Vào phần Mẫu (Template)
3. Chọn chỉnh sửa HTML (Edit HTML)
4. Chèn tiếp code CSS bên dưới vào trước thẻ ]]></b:skin>
a.nowandthen{
position:relative;
display: block;
overflow:hidden;
cursor: pointer;
width: 650px;
height: 434px;
}
a.nowandthen img{
position:absolute;
left:0;
top:0;
width: 100%;
height: 100%;
-moz-transition: all 0.4s ease;
-webkit-transition: all 0.4s ease;
-o-transition: all 0.4s ease;
-ms-transition: all 0.4s ease;
transition: all 0.4s ease;
z-index: 2;
clip: rect(0,650px,434px,0);
}
a.nowandthen img:nth-of-type(2){
z-index: 1;
}
a.nowandthen:hover img:nth-of-type(1){
clip: rect(0,0,434px,0);
opacity: 0;
}
5. Save template lại và trở về phần bố cục (Layout)position:relative;
display: block;
overflow:hidden;
cursor: pointer;
width: 650px;
height: 434px;
}
a.nowandthen img{
position:absolute;
left:0;
top:0;
width: 100%;
height: 100%;
-moz-transition: all 0.4s ease;
-webkit-transition: all 0.4s ease;
-o-transition: all 0.4s ease;
-ms-transition: all 0.4s ease;
transition: all 0.4s ease;
z-index: 2;
clip: rect(0,650px,434px,0);
}
a.nowandthen img:nth-of-type(2){
z-index: 1;
}
a.nowandthen:hover img:nth-of-type(1){
clip: rect(0,0,434px,0);
opacity: 0;
}
6. Thêm 1 HTML/Javascript và thêm vào code bên dưới
<a class="nowandthen" href="http://www.traidatmui.com/">
<img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggWpx5wsjUh-eyIC5u-BqbKG_bHC53gNHNJj70U-1b2UEIoKZLOUWyfp-zWCbrEaa0kWV-HG_OTlT6nJMKI2XwTpbygeZHJrMgqss3xlciFskytAguixZksYKcL-4nvieW2PHMURpmaKA/s1600/sunset-sunrise-btrix+(1).jpg" />
<img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjr-asxyHZELZ_-ZNig3KSwTWprtbVxMIg5Scl9_eIeht8FA1hhn9CVYFBcSit0hlnfajlvT1py-T8jQeU1Q_7VjHzRNeNOiGy5ULCr9cXG434SIGSZ-nUJY5GJKkxSPQgYo6L1XyO9Qc/s1600/sunset-sunrise-btrix+(2).jpg" />
</a>
7. Cuối cùng save tiện ích lại<img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggWpx5wsjUh-eyIC5u-BqbKG_bHC53gNHNJj70U-1b2UEIoKZLOUWyfp-zWCbrEaa0kWV-HG_OTlT6nJMKI2XwTpbygeZHJrMgqss3xlciFskytAguixZksYKcL-4nvieW2PHMURpmaKA/s1600/sunset-sunrise-btrix+(1).jpg" />
<img alt="" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjr-asxyHZELZ_-ZNig3KSwTWprtbVxMIg5Scl9_eIeht8FA1hhn9CVYFBcSit0hlnfajlvT1py-T8jQeU1Q_7VjHzRNeNOiGy5ULCr9cXG434SIGSZ-nUJY5GJKkxSPQgYo6L1XyO9Qc/s1600/sunset-sunrise-btrix+(2).jpg" />
</a>
Chúc bạn thành công!
Tham khảo bloggertrix.com
công nận hay thiệt đẹp mắt :)
ReplyDeleteYou can Download games pc torrent