Display

Display inline
d-inline
d-inline
Display block
d-block d-block

Float

Float start

Float end


Don't float
Float Responsive
Float sm

Float md

Float lg

Float xl


Text selection

This paragraph will be entirely selected when clicked by the user.

This paragraph has default select behavior.

This paragraph will not be selectable when clicked by the user.

Pointer events

This link can not be clicked.

This link can be clicked (this is default behavior).

This link can not be clicked because the pointer-events property is inherited from its parent. However, this link has a pe-auto class and can be clicked.

Gap

item 1
item 2
item 3

Overflow

This is an example of using .overflow-auto on an element with set width and height dimensions. By design, this content will vertically scroll.
This is an example of using .overflow-hidden on an element with set width and height dimensions.
This is an example of using .overflow-visible on an element with set width and height dimensions.
This is an example of using .overflow-scroll on an element with set width and height dimensions.

Shadow Examples

No shadow
Small shadow
Regular shadow
Larger shadow

Opacity

100%
75%
50%
25%

Vertical alignment With table cells

baseline top middle bottom text-top text-bottom
Vertical alignment With inline elements
baseline top middle bottom text-top text-bottom

Horizontal center

Centered element
Relative to the parent
Width 25%
Width 50%
Width 75%
Width 100%
Width auto
Height 25%
Height 50%
Height 75%
Height 100%
Height auto