+
Utilities for controlling the box shadow of an element.
-
-
Responsive
-
Customizing
+@include('_partials.feature-badges', [
+ 'responsive' => true,
+ 'customizable' => true,
+ 'hover' => false,
+ 'focus' => false
+])
+
+
+
+
+
+
+
+
+
+
+ | Class |
+ Properties |
+ Description |
+
+
+
+
+ | .shadow |
+ box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.15); |
+ Apply a small box shadow to an element. |
+
+
+ | .shadow-md |
+ box-shadow: 0 3px 6px rgba(0,0,0,.12), 0 3px 6px rgba(0,0,0,.13); |
+ Apply a medium box shadow to an element. |
+
+
+ | .shadow-lg |
+ box-shadow: 0 10px 20px rgba(0,0,0,.13), 0 6px 6px rgba(0,0,0,.13); |
+ Apply a large box shadow to an element. |
+
+
+ | .shadow-inner |
+ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05) |
+ Apply a small inner box shadow to an element. |
+
+
+ | .shadow-none |
+ box-shadow: none; |
+ Remove a box shadow from an element. |
+
+
+
Box shadows can be applied using the `.shadow-{size}` utilities. By default these are a size scale, where the smaller sizes represent more shallow shadows, and larger sizes represent deeper shadows. If you use the `.shadow` utility without a suffix, you'll get the default shadow.