Performance: Arbitrary properties for unsupported CSS
MEDIUM IMPACT
This affects page load speed and rendering performance by adding custom CSS properties that may not be optimized by Tailwind's default build.
@layer utilities {
.custom-blur {
backdrop-filter: blur(10px);
}
}
class="custom-blur"class="[backdrop-filter:blur(10px)] [unsupported-property:value]"| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Many inline arbitrary properties | Low | Multiple (if layout affected) | High (complex styles) | [X] Bad |
| Custom utility classes for properties | Low | Single or none | Low | [OK] Good |