diff options
| author | XhmikosR <[email protected]> | 2019-11-26 19:12:00 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-11-26 19:12:00 +0200 |
| commit | 593574d510050dc2d5eeafe70a58ae182f020480 (patch) | |
| tree | 043a163d6c712121ca0fe1f34c419ab592b03185 /site/docs/4.4/utilities/shadows.md | |
| parent | d61bba584f89c7df0d780a9ff214a58f7b58cb94 (diff) | |
| download | bootstrap-4.4.0.tar.xz bootstrap-4.4.0.zip | |
Release v4.4.0 (#29735)v4.4.0
Diffstat (limited to 'site/docs/4.4/utilities/shadows.md')
| -rw-r--r-- | site/docs/4.4/utilities/shadows.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/site/docs/4.4/utilities/shadows.md b/site/docs/4.4/utilities/shadows.md new file mode 100644 index 000000000..9c3e58044 --- /dev/null +++ b/site/docs/4.4/utilities/shadows.md @@ -0,0 +1,18 @@ +--- +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). + +{% capture 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> +{% endcapture %} +{% include example.html content=example %} |
