<input type="radio" checked="checked" value="male" name="gender"/> Male<br/>
  <input type="radio" value="female" name="gender"/> Female<br/>
  <input type="checkbox" checked="checked" value="Bike"/> I have a bike<br/>
  <input type="checkbox" value="Car"/> I have a car 
  background: #1f1f1f;
  width: 80%;
  border: 1px dashed #ffffff;
  margin: auto;
  padding: 50px;
  color: #ffffff;

/* checked selector */
input:checked {
   height: 30px;
   width: 30px;

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.