From 490acf60ca149e88e669f2b3f157dd326dad9573 Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Sat, 27 Jun 2020 19:31:59 +0100 Subject: Docs: rename form checks page to "Checks / radios" (#31090) * Docs: rename form checks page to "Checks / radios" it's not immediately obvious that "checks" includes information about both checkboxes and radio buttons. while "checks / radios" is also still not perfect (as honestly even I didn't quite grok that "checks" meant checkboxes), it should make it slightly more obvious nonetheless --- site/content/docs/5.0/forms/checks-radios.md | 263 +++++++++++++++++++++++++++ site/content/docs/5.0/forms/checks.md | 262 -------------------------- site/content/docs/5.0/forms/overview.md | 2 +- site/content/docs/5.0/migration.md | 2 +- site/data/sidebar.yml | 2 +- 5 files changed, 266 insertions(+), 265 deletions(-) create mode 100644 site/content/docs/5.0/forms/checks-radios.md delete mode 100644 site/content/docs/5.0/forms/checks.md diff --git a/site/content/docs/5.0/forms/checks-radios.md b/site/content/docs/5.0/forms/checks-radios.md new file mode 100644 index 000000000..6d8bdf386 --- /dev/null +++ b/site/content/docs/5.0/forms/checks-radios.md @@ -0,0 +1,263 @@ +--- +layout: docs +title: Checks and radios +description: Create consistent cross-browser and cross-device checkboxes and radios with our completely rewritten checks component. +group: forms +aliases: "/docs/5.0/forms/checks/" +toc: true +--- + +## Approach + +Browser default checkboxes and radios are replaced with the help of `.form-check`, a series of classes for both input types that improves the layout and behavior of their HTML elements, that provide greater customization and cross browser consistency. Checkboxes are for selecting one or several options in a list, while radios are for selecting one option from many. + +Structurally, our ``s and `