Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorSakurai Kenji <sakuraineed@gmail.com>2022-01-05 20:24:59 +0300
committerGitHub <noreply@github.com>2022-01-05 20:24:59 +0300
commit0dbec67514b09b8a537c2d1c249dad201a3daa00 (patch)
tree83d762a03b8b1a2043f46bbab79a998f1acc3f14 /site
parent0d054bb0f1484dbc0c778d3643e96e37ff46d708 (diff)
Fix custom-checkbox and custom-radio in migration doc (#35609)
Diffstat (limited to 'site')
-rw-r--r--site/content/docs/5.1/migration.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/site/content/docs/5.1/migration.md b/site/content/docs/5.1/migration.md
index 5a29f64086..defc02db95 100644
--- a/site/content/docs/5.1/migration.md
+++ b/site/content/docs/5.1/migration.md
@@ -196,8 +196,9 @@ Your custom Bootstrap CSS builds should now look something like this with a sepa
- **Added new floating forms!** We've promoted the Floating labels example to fully supported form components. [See the new Floating labels page.]({{< docsref "/forms/floating-labels" >}})
- <span class="badge bg-danger">Breaking</span> **Consolidated native and custom form elements.** Checkboxes, radios, selects, and other inputs that had native and custom classes in v4 have been consolidated. Now nearly all our form elements are entirely custom, most without the need for custom HTML.
- - `.custom-check` is now `.form-check`.
- - `.custom-check.custom-switch` is now `.form-check.form-switch`.
+ - `.custom-control.custom-checkbox` is now `.form-check`.
+ - `.custom-control.custom-custom-radio` is now `.form-check`.
+ - `.custom-control.custom-switch` is now `.form-check.form-switch`.
- `.custom-select` is now `.form-select`.
- `.custom-file` and `.form-file` have been replaced by custom styles on top of `.form-control`.
- `.custom-range` is now `.form-range`.