Skip to content

Improving form elements

Compare
Choose a tag to compare
@hopearmstrong hopearmstrong released this 19 Apr 22:15
a55effc
  • Added support for radio and checkbox labels that wrap into multiple lines; now the labels left align with the inputs.
  • Explicitly made radio buttons have a white background color. This solves a readability issue that occured when a radio button was placed on a non-white background (the center was rendering as transparent).
  • Added hover and focus states for radio, checkbox, and select inputs. Included an option for light forms on dark backgrounds.
  • Thickened radio and checkbox borders from 1px to 2px to match other inputs and stand out more.
    Improved inline buttons so they are now aligned with input fields.