You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Здравствуйте, подскажите какой тег использовать для увеличения значения, пример на картинке.
Вроде, про такой тег я слышала. Если есть тег прогресс бар, значит и такое должно быть.
Question
Fizruk
<div class="checkbox_button">
<div class="fiz_face">
<input type="checkbox" id="box_1" >
<label for="box_1" class="checkbox-label unchecked-label"></label >
<span class="fz_uz_1">Физическое лицо</span>
</div>
<div class="ur_face">
<input type="checkbox" id="box_2" checked />
<label for="box_2" class="checkbox-label checked-label"></label>
<span class="fz_uz_2">Юридические лица</span>
</div>
</div>
.checkbox_button #box_1{
float:left;
min-width: 10px;
max-height:10px;
background: none;
}
.checkbox_button #box_2{
float:left;
min-width: 10px;
max-height:10px;
background: none;
}
.checkbox-label{
margin-left:-20px;
display: inline-block;
width: 23px;
height: 23px;
cursor: pointer;
}
.unchecked-label{
float: left;
margin-left:-20px;
background: url("../image/chekbox_1.png") no-repeat top left;
}
.checked-label{
float: left;
background: url("../image/chekbox_2.png") no-repeat top left;
}
.fz_uz_1{
float:left;
height: 23px;
display: table-cell;
vertical-align: middle;
margin-left: 5px;
font-weight: normal;
font-size: 18px;
}
.fz_uz_2{
float:left;
height: 23px;
display: table-cell;
vertical-align: middle;
margin-left: 5px;
font-weight: normal;
font-size: 18px;
}
http://joxi.ru/krDlD3zhvY3Mrp
Как сделать чтобы когда один chekbox был включен другой выключался?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.