IT/CSS
[체크박스] checkbox & label 높이 조절하기
옥탑방개발자
2020. 9. 27. 11:24
728x90
1. checkbox & label 높이 조절하기
- checkbox top값 +1.5px 또는 label top값 - 1.5px
<head>
<style type="text/css">
.login_append input[type="checkbox"]{
position: relative;
top: 1.5px;
}
</style>
</head>
<body>
<div class="login_append">
<input type="checkbox" id="keepLogin" class="inp_radio" name="keepLogin">
<label for="keepLogin">로그인 상태 유지</label>
</div>
</body>
728x90