+ 1
Html
How to ident radio buttons and checkbox so that they have same indentation?! https://code.sololearn.com/W20hb01mPozh/?ref=app
5 Antworten
+ 1
Thank you
+ 1
input[type='radio']{
width: 100%;
}
0
It is postion of element
I added the code
0
Mariam
I have remove my comments to reset the post to "Unanswered" state. Please remove your comments also to make it happen ...
0
Mariam I can't anderestand completely your question, but I explain briefly about them:
Activity:
Actually its just important to know user can select only 1 item in one group of radio button, and more than 1 items in one group of checkbox!
Html codes:
In html, they are only different in "Type": type="radio" in radioButton and type="checkbox" in checkbox
UI & CSS:
As you see, they have their own special default appearance, but you can change their size, color, and behavier on mouse hover in CSS.