Ben Frain 6/18/2025

Use @supports with a proxy feature/value for features you can’t test for (@starting-style)

Read Original

This technical CSS article details a method to feature-detect browser support for the @starting-style rule, which lacks direct @supports testing. It proposes using a proxy property like 'text-wrap-style: auto' (introduced in Safari 17.5 alongside @starting-style) within an @supports query to conditionally apply animation styles, ensuring they only run in compatible browsers.

Use @supports with a proxy feature/value for features you can’t test for (@starting-style)

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week