Opacities
Add an opacity to any element using our handy opacity classes. Available
opacities range from 10% to
90% in 10% increments. Perfect
for image overlays or anything you want to be semi-tranparent. Classes
are named:
.opacity-{percentage}
where percentage is the
number value.
As an example, for an element with 10% opacity, use
.opacity-10
.
Background Color Opacity
Three background-color opacity classes are available, at 25%, 50%, and
75%. Add
.bg-opacity-{color}-25
for a 25% opaque background color.
These classes use the color
black by default.