텍스트에 new 아이콘 달기
작성일 19-04-11 11:26
페이지 정보
작성자서방님 조회 474회 댓글 0건본문

<style type="text/css">
.icon {
position: absolute;
width: 25px;
top: -38px;
font-family: Tahoma, dotum;
color: #fff;
font-size: 11px;
font-weight: bold;
padding: 1px 5px 1px 5px;
text-align: center;
display: inline-block;
height: 16px;
line-height: 16px;
border-radius: 3px;
background: #ff4a4a;
}
.icon:after {
top: 100%;
left: 50%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
border-color: rgba(255, 74, 74, 0);
border-top-color: #ff4a4a;
border-width: 4px;
margin-left: -4px;
}
.newIcon_lyr {
display: inline-block;
width: 0;
height: 0;
position: relative;
}
</style>
<br><br><br><br>
<li class="ie-before menuCtgr_10 menuCtgr_li" style="padding:0;">
<span class="newIcon_lyr"><span class="icon" style="margin-left:7px;">New</span></span>
<a href="#">서방님</a>
</li>
댓글목록
등록된 댓글이 없습니다.
