Bài viết hôm nay, ThaiAiTi.com sẽ giới thiệu cho bạn, được sử dụng 100% là CSS nên bạn hoàn toàn yên tâm về tốc độ và không ảnh hưởng tới mọi thứ xung quanh trên Template của bạn.
Cách thực hiện khá đơn giản, bạn chỉ cần chèn đoạn CSS sau trên ]]></b:skin>
(Dành cho người thiết kế Template Blogspot nhé)
.post-body a { position:relative; }* Chúc bạn thực hiện thành công! Nếu thích nhớ nhấn Like nhé để tác giả có động lực chia sẻ nhiều hơn nữa và có giá trị.
.post-body a::before {
content:attr(href);
font-size:11px;
line-height:11px;
font-family:Arial,sans-serif;
text-transform:none;
padding:8px 12px;
top:-34px;
right:0px;
transition:.3s ease-out;
background:#222;
color:#fff;
border-radius:5px;
position:absolute;
opacity:0;
visibility:hidden;
}
.post-body a::after {
content:" ";
width:0;
height:0;
right:10px;
top:-7px;
transition:.3s ease-out;
border-color:#222 transparent transparent;
border-style:solid;
border-width:6px 6px 0;
position:absolute;
opacity:0;
visibility:hidden;
}
.post-body a:hover::before, .post-body a:hover::after {
opacity:1.5;
visibility:visible;
}








0 nhận xét:
Đăng nhận xét