Vue Bootstrap Shadows

Vue Shadows - Bootstrap 4 & Material Design

Note: This documentation is for an older version of Bootstrap (v.4). A newer version is available for Bootstrap 5. We recommend migrating to the latest version of our product - Material Design for Bootstrap 5.
Go to docs v.5

Bootstrap shadow is an effect used in web elements which provides important visual cues about objects' depth and directional movement.

They are the only visual cue indicating the amount of separation between surfaces. An object’s elevation determines the appearance of its shadow.

Creating shadows with MDB is very easy. You only need to add one of the shadow classes to chosen element.


Add one of the following classes to any html element to achieve a desired depth of the shadow







          <div class="example z-depth-5"></div>


To remove existing shadow from given element use class .z-depth-0

Shadow on hover

Add .hoverable class to any element to easily apply the shadow hover effect.

hover me!

        <div class="example hoverable"></div>