From c1d5a801b4bc66e3866f815be00e11d1b20d3539 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 24 Jun 2023 14:44:36 +0200 Subject: Adding upstream version 5.3.0+dfsg. Signed-off-by: Daniel Baumann --- site/content/docs/5.3/forms/select.md | 81 +++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 site/content/docs/5.3/forms/select.md (limited to 'site/content/docs/5.3/forms/select.md') diff --git a/site/content/docs/5.3/forms/select.md b/site/content/docs/5.3/forms/select.md new file mode 100644 index 0000000..07ee8c8 --- /dev/null +++ b/site/content/docs/5.3/forms/select.md @@ -0,0 +1,81 @@ +--- +layout: docs +title: Select +description: Customize the native `` menus need only a custom class, `.form-select` to trigger the custom styles. Custom styles are limited to the ` + + + + + +{{< /example >}} + +## Sizing + +You may also choose from small and large custom selects to match our similarly sized text inputs. + +{{< example >}} + + + +{{< /example >}} + +The `multiple` attribute is also supported: + +{{< example >}} + +{{< /example >}} + +As is the `size` attribute: + +{{< example >}} + +{{< /example >}} + +## Disabled + +Add the `disabled` boolean attribute on a select to give it a grayed out appearance and remove pointer events. + +{{< example >}} + +{{< /example >}} + +## CSS + +### Sass variables + +{{< scss-docs name="form-select-variables" file="scss/_variables.scss" >}} -- cgit v1.2.3