반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- unittest
- 개발
- 오블완
- xcode
- 티스토리챌린지
- MAC
- linux
- TensorFlow
- localserver
- webpack
- 리눅스
- Chrome
- node
- ReactNative
- MachineLearning
- build
- androidstudio
- PYTHON
- Android
- IOS
- jest
- centos
- react
- 네트워크
- qunit
- 맥
- VirtualBox
- 센토스
- vsCode
Archives
- Today
- Total
로메오의 블로그
checkbox 이미지 처리 본문
반응형
<div class="checkbox-control">
<input type="checkbox" id="saveId">
<label for="saveId">아이디 저장</label>
</div>
.checkbox-control input+label {
display: block;
width: 154px;
height: 24px;
padding-left: 35px;
background: url(../img/uncheck.png) no-repeat 0 0px / contain;
}
.checkbox-control input:checked+label {
background: url(../img/check.png) no-repeat 0 0px / contain;
}
.checkbox-control input {
display: none;
}

반응형
'Design > Markup' 카테고리의 다른 글
css backdrop-filter (0) | 2022.04.28 |
---|---|
css 애니메이션 (0) | 2022.04.20 |
CSS flex (0) | 2022.03.30 |
CSS 가상요소(before)에 svg로 만든 font넣기 (0) | 2022.03.30 |
css 가상요소[Pseudo Element] before, after (0) | 2022.03.30 |