Blur
Applies a blur filter to an element.
Utility | Properties |
---|---|
Error: 429 |
This example showcases various blur
utilities:
- The f-b-none blur utility sets the
filter
to blur(0px). - The f-b-xs blur utility sets the
filter
to blur(4px).
<div class="d-g g-16 gtc-2"> <div class="d-32 p-r rad-1"> <img class="d-full f-b-none of-c rad-1" src="https://picsum.photos/300?image=872" /> </div> <div class="d-32 p-r rad-1"> <img class="d-full f-b-xs of-c rad-1" src="https://picsum.photos/300?image=872" /> </div></div>
Conditional styles
Learn how to override existing utilities based on the userโs screen size or other factors, such as hover states.
Media modifier
You can combine responsive breakpoints like sm:-*
,md:-*
, lg:-*
, and xxl:-*
allows targeting specific utilities in different viewports.
<div class="f-b-none md:f-b-md ..."></div>
Hover modifier
Alternatively, you can apply :hover
by using h:-*
utility to override elements and change their values when hovering over them.
<div class="f-b-none h:f-b-md ..."></div>