diff options
| author | XhmikosR <[email protected]> | 2021-08-04 18:41:51 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-08-04 18:41:51 +0300 |
| commit | f20fece3a8cdd0e76a42c2737524b7652bf54d26 (patch) | |
| tree | 83e62cc954b17a8bc21cd5975bfd88da721793d1 /site/content/docs/5.0/utilities/shadows.md | |
| parent | 7fcc2f4d526ff774a0a7de6b624a607e5ba47fb9 (diff) | |
| download | bootstrap-5.1.0.tar.xz bootstrap-5.1.0.zip | |
Prepare v5.1.0. (#34674)v5.1.0
Diffstat (limited to 'site/content/docs/5.0/utilities/shadows.md')
| -rw-r--r-- | site/content/docs/5.0/utilities/shadows.md | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/site/content/docs/5.0/utilities/shadows.md b/site/content/docs/5.0/utilities/shadows.md deleted file mode 100644 index bb5ef44ab..000000000 --- a/site/content/docs/5.0/utilities/shadows.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -layout: docs -title: Shadows -description: Add or remove shadows to elements with box-shadow utilities. -group: utilities -toc: true ---- - -## Examples - -While shadows on components are disabled by default in Bootstrap and can be enabled via `$enable-shadows`, you can also quickly add or remove a shadow with our `box-shadow` utility classes. Includes support for `.shadow-none` and three default sizes (which have associated variables to match). - -{{< example >}} -<div class="shadow-none p-3 mb-5 bg-light rounded">No shadow</div> -<div class="shadow-sm p-3 mb-5 bg-body rounded">Small shadow</div> -<div class="shadow p-3 mb-5 bg-body rounded">Regular shadow</div> -<div class="shadow-lg p-3 mb-5 bg-body rounded">Larger shadow</div> -{{< /example >}} - -## Sass - -### Variables - -{{< scss-docs name="box-shadow-variables" file="scss/_variables.scss" >}} - -### Utilities API - -Shadow utilities are declared in our utilities API in `scss/_utilities.scss`. [Learn how to use the utilities API.]({{< docsref "/utilities/api#using-the-api" >}}) - -{{< scss-docs name="utils-shadow" file="scss/_utilities.scss" >}} |
