diff options
| author | Bobby <[email protected]> | 2024-08-16 20:47:33 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-08-16 20:47:33 -0400 |
| commit | 6b28433d9cfde435be8ec2bd6cf91e6324d08865 (patch) | |
| tree | 8343c27b8b95ff5639233e81cf157f92e5688466 /site/content/docs/5.1/utilities/shadows.md | |
| parent | d53094ec16ba385faae2973ddee648698b32ab24 (diff) | |
| parent | 048f56f51460df75e92a2f7b472e1c56baeb68f7 (diff) | |
| download | bootstrap-main.tar.xz bootstrap-main.zip | |
Diffstat (limited to 'site/content/docs/5.1/utilities/shadows.md')
| -rw-r--r-- | site/content/docs/5.1/utilities/shadows.md | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/site/content/docs/5.1/utilities/shadows.md b/site/content/docs/5.1/utilities/shadows.md deleted file mode 100644 index bb5ef44ab..000000000 --- a/site/content/docs/5.1/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" >}} |
