Loading...

opacity

Cssville has 16 utility classes for opacity. Add one to an element's class attribute to set the property, for example opa-0. Put a breakpoint name in front of a class to apply it only on screens up to that width, as in md-opa-0. Add -hover to the end to apply a class only on hover, as in opa-0-hover. Getting started explains how class names are built.

CSS class prefixes and related properties

Class name prefixCSS properties
opa-*opacity

CSS class suffixes and property values

Class name suffixCSS properties value
*-00
*-010.1
*-020.2
*-030.3
*-040.4
*-050.5
*-060.6
*-070.7
*-080.8
*-090.9
*-11
*-inheritinherit
*-initialinitial
*-revertrevert
*-revert-layerrevert-layer
*-unsetunset

opa: opacity

.opa-0.opa-0-hover.opa-01.opa-01-hover.opa-02.opa-02-hover.opa-03.opa-03-hover.opa-04.opa-04-hover.opa-05.opa-05-hover.opa-06.opa-06-hover.opa-07.opa-07-hover.opa-08.opa-08-hover.opa-09.opa-09-hover
.opa-0 {
  opacity: 0;
}
© Cssville 2026
Hosted by Vercel.Protected by Cloudback.