Syntax
opacity
Setting the opacity of an element.
Overview
Class | Declarations |
---|---|
opacity:value | opacity: value;
|
Conditionally apply
Apply styles based on different states using selectors and applying conditionally.
<div class="opacity:.5:hover opacity:.5@sm opacity:.5@dark opacity:.5@print">…</div>