1 [Code] Ẩn nội dung (spoiler) giống vbb Sun Nov 11, 2012 11:43 am
Admin
Trùm Forum
[You must be registered and logged in to see this image.]
Thêm vào css
[You must be registered and logged in to see this image.]
Thêm vào css
- Code:
.spoiler
.genmed {height:15px;display: inline-block;border: 1px solid
#c5ccd1;width:89%;font-size:12px;background:#e8e8e5;color:#333332;
font-weight: bold;padding:3px 1px 3px 20px}
.spoiler .genmed b{display:none}
.spoiler .genmed:before{content:"Bấm vào đây xem toàn bộ nội dung"}
.spoiler_closed.hidden {
display:none;
}
.spoiler_content {
display:block; min-width:333px; padding:6px;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 11px;
color: #000;
line-height: 125%;
background-color: #f5f5f5;
border-bottom: 1px solid #c5ccd1;border-left: 1px solid #c5ccd1;border-right: 1px solid #c5ccd1;
}
.spoiler_content.hidden {
display:none;
}
[You must be registered and logged in to see this image.]
- Code:
.spoiler_content {padding-top:-1px;
width:96%;;padding:3px 20px;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 12px;
color: #000;
background: #ffffff;
border: 1px solid #000000}
.spoiler_closed {display:none;}
.spoiler_content .hidden {
display:none;
}
.spoiler .genmed b{display:none}
.spoiler .genmed:hover{display: inline-block;background: url(http://i48.servimg.com/u/f48/14/28/30/23/phutu38.jpg) no-repeat}
.spoiler
.genmed{width:198px;height:23px;display: inline-block;background:
url(http://i48.servimg.com/u/f48/14/28/30/23/phutu37.jpg) no-repeat }