checkbox border-radius
This commit is contained in:
parent
d2d84ca192
commit
ad9d1c1890
4 changed files with 25 additions and 4 deletions
|
@ -2269,6 +2269,18 @@ button:focus {
|
|||
/* use .radio class on input type=radio */
|
||||
/* recommanded HTML : <input type="radio" class="radio" name="radio" id="r1"><label for="r1">Click here</label> */
|
||||
/* use .switch class on input type=checkbox */
|
||||
.checkbox {
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.switch {
|
||||
border-radius: 3em;
|
||||
}
|
||||
|
||||
.radio {
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
.switch,
|
||||
.checkbox,
|
||||
.radio {
|
||||
|
@ -2280,7 +2292,6 @@ button:focus {
|
|||
cursor: pointer;
|
||||
-webkit-box-shadow: inset 0 0 0 1px #333;
|
||||
box-shadow: inset 0 0 0 1px #333;
|
||||
border-radius: 3em;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue