hình như chưa ai share nên share luôn:
demo:
chèn vào css:( nhớ thay đổi thông số cho phù hợp vs viewtopic)
chèn code hiển thị tước hiệu trong viewtopic::
demo:
chèn vào css:( nhớ thay đổi thông số cho phù hợp vs viewtopic)
- Code:
.rank-tk-left {
float: left;
border-radius: 3px 0px 0px 0px;
margin-left: -5px;
margin-top: -5px;
background: #333;
border: 1px solid #333;
height: 5px;
width: 3px;
}
.rank-tk-right {
float: right;
border-radius: 0px 3px 0px 0px;
margin-right: -5px;
margin-top: -5px;
background: #333;
border: 1px solid #333;
height: 5px;
width: 3px;
}
.rank-tk {
background: #333;
border: 1px solid #333;
color: white;
font-size: 12px;
font-weight: 700;
padding: 5px;
margin-left: -5px;
margin-right: -5px;
text-align: center;
border-radius: 0px 0px 3px 3px;
}
chèn code hiển thị tước hiệu trong viewtopic::
- Code:
<span class="rank-tk-left"></span>
<span class="rank-tk-right"></span>
<div class="rank-tk"><marquee>{postrow.displayed.POSTER_NAME}<br></marquee></div>