Ring opacity
Utilities for setting the opacity of outline rings.
Class reference
Usage
Use the ring-opacity-{amount}
utilities to set the opacity of an outline ring.
Responsive
To control the ring opacity at a specific breakpoint, add a {screen}:
prefix to any existing ring opacity utility. For example, use md:ring-opacity-50
to apply the ring-opacity-50
utility at only medium screen sizes and above.
<button class="ring-2 ring-blue ring-opacity-75 md:ring-opacity-50">
<!-- ... -->
</button>
For more information about Elements’ responsive design features, check out the Responsive Design documentation.
On this Page
v1.13.5