diff options
| author | XhmikosR <[email protected]> | 2021-01-19 18:16:38 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-19 18:16:38 +0200 |
| commit | 6ffb0b48e455430f8a5359ed689ad64c1143fac2 (patch) | |
| tree | 6262338881c32c3c19e4977152ecd0fca61a341c /site/content/docs/4.6/utilities/shadows.md | |
| parent | 9d87bd7a30c1874a9c3d60041a4042228753dd0e (diff) | |
| download | bootstrap-4.6.0.tar.xz bootstrap-4.6.0.zip | |
Release v4.6.0. (#32726)v4.6.0
* Bump version to v4.6.0.
* Dist
Diffstat (limited to 'site/content/docs/4.6/utilities/shadows.md')
| -rw-r--r-- | site/content/docs/4.6/utilities/shadows.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/site/content/docs/4.6/utilities/shadows.md b/site/content/docs/4.6/utilities/shadows.md new file mode 100644 index 000000000..2803031d6 --- /dev/null +++ b/site/content/docs/4.6/utilities/shadows.md @@ -0,0 +1,17 @@ +--- +layout: docs +title: Shadows +description: Add or remove shadows to elements with box-shadow utilities. +group: utilities +--- + +## 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-white rounded">Small shadow</div> +<div class="shadow p-3 mb-5 bg-white rounded">Regular shadow</div> +<div class="shadow-lg p-3 mb-5 bg-white rounded">Larger shadow</div> +{{< /example >}} |
