PatternFly

Box shadow

Examples

Small

Regular
Top
Right
Bottom
Left

Medium

Regular
Top
Right
Bottom
Left

Large

Regular
Top
Right
Bottom
Left

Extra large

Regular
Top
Right
Bottom
Left

Inset

Regular

Documentation

Overview

Box shadow utility

Usage

Class
Applied to
Outcome
.pf-v5-u-box-shadow-sm
*
Applies box-shadow small.
.pf-v5-u-box-shadow-sm-top
*
Applies box-shadow small top.
.pf-v5-u-box-shadow-sm-right
*
Applies box-shadow small right.
.pf-v5-u-box-shadow-sm-bottom
*
Applies box-shadow small bottom.
.pf-v5-u-box-shadow-sm-left
*
Applies box-shadow small left.
.pf-v5-u-box-shadow-md
*
Applies box-shadow medium.
.pf-v5-u-box-shadow-md-top
*
Applies box-shadow medium top.
.pf-v5-u-box-shadow-md-right
*
Applies box-shadow medium right.
.pf-v5-u-box-shadow-md-bottom
*
Applies box-shadow medium bottom.
.pf-v5-u-box-shadow-md-left
*
Applies box-shadow medium left.
.pf-v5-u-box-shadow-lg
*
Applies box-shadow large.
.pf-v5-u-box-shadow-lg-top
*
Applies box-shadow large top.
.pf-v5-u-box-shadow-lg-right
*
Applies box-shadow large right.
.pf-v5-u-box-shadow-lg-bottom
*
Applies box-shadow large bottom.
.pf-v5-u-box-shadow-lg-left
*
Applies box-shadow large left.
.pf-v5-u-box-shadow-xl
*
Applies box-shadow x-large.
.pf-v5-u-box-shadow-xl-top
*
Applies box-shadow x-large top.
.pf-v5-u-box-shadow-xl-right
*
Applies box-shadow x-large right.
.pf-v5-u-box-shadow-xl-bottom
*
Applies box-shadow x-large bottom.
.pf-v5-u-box-shadow-xl-left
*
Applies box-shadow x-large left.

View source on GitHub