728x90
checkbox 사이즈(크기) 조절 방법
- 첫 번째 방법
input[type=checkbox] {
-ms-transform: scale(2); /* IE */
-moz-transform: scale(2); /* FF */
-webkit-transform: scale(2); /* Safari and Chrome */
-o-transform: scale(2); /* Opera */
padding: 10px;
}
- 두 번째 방법
반응형
input[type="checkbox"]{
width: 30px; /*Desired width*/
height: 30px; /*Desired height*/
cursor: pointer;
-webkit-appearance: none;
appearance: none;
}
- 세 번째 방법
input[type=checkbox] {
zoom: 1.5;
}
- 네 번째 방법
728x90
input[type=checkbox] {
transform : scale(1.5);
}
- 다섯 번째 방법 (인라인)
<input style="zoom:2.0;" type="checkbox" class="checkbox">
728x90
'프로그래밍 > CSS' 카테고리의 다른 글
[CSS/html] 테이블 헤드 고정하고 스크롤 하는 방법. table with fixed thead and scrollable tbody (0) | 2020.06.30 |
---|---|
[html/css] 말풍선, 툴팁(tooltip), title 태그(속성) 줄바꿈 하는 방법 (2) | 2020.06.27 |
[CSS] 테이블(table)에 스크롤 기능 만들기 (0) | 2020.06.14 |
[CSS] Html input 에서 오른쪽 화살표, type='number' 의 버튼 없애기 ( 증가,감소 버튼) (0) | 2020.06.12 |
[CSS] 텍스트가 div, code block 범위 밖으로 나가는 현상 해결 (0) | 2020.06.08 |