<ul class="goods_sort">
<li>
<input type="radio" value="1" name="sort" id="recive_date">
<label for="recive_date" class="on">등록일순</label>
</li>
<li>
<input type="radio" value="2" name="sort" id="goods_name">
<label for="goods_name">이름순</label>
</li>
<li>
<input type="radio" value="3" name="sort" id="goods_h_price">
<label for="goods_h_price">높은가격순</label>
</li>
<li>
<input type="radio" value="4" name="sort" id="goods_l_price">
<label for="goods_l_price">낮은가격순</label>
</li>
<li>
<input type="radio" value="5" name="sort" id="hits">
<label for="hits">인기순</label>
</li>
</ul>
input[type=radio]{
background-color: #FFFF;
-webkit-appearance: none;
-moz-appearance: none;
margin-left: 16px;
border: 1px solid rgb(216, 216, 216);
width: 14px;
height: 14px;
border-radius: 100%;
}
input[type=radio]:checked{
background: url(icon_sort_check.png);
-webkit-appearance: none;
-moz-appearance: none;
margin-left: 16px;
border: none;
width: 14px;
height: 14px;
border-radius: 100%;
}
'웹프로그래밍 무작정따라하기 > HTML CSS' 카테고리의 다른 글
[ CSS ] scrollbar - 스크롤 바 스타일링 꾸미기 (0) | 2022.01.03 |
---|---|
[ html ] IE 호환성 보기 무시하기 (무조건 최신버전 적용) (0) | 2021.03.26 |
[ CSS ] animation @keyframes 기본 이해하기 (0) | 2021.03.26 |
[CSS] Naming Conventions 네이밍 규칙 (0) | 2020.06.16 |
[CSS] 단위 px . % . em . rem (0) | 2020.06.15 |
댓글