All updates

Enhancement

Layout & design

!important flag in Webflow custom properties

!important flag in Webflow custom properties

Every so often, you may need to override styles on a particular element. Either you don’t have full control over an external element’s styles, or there are many different selectors targeting the same element. The CSS !important flag was designed to enforce such critical styles in a pinch.

The Custom properties section in the Designer Style panel now supports the CSS !important flag. You can append !important to any value, for any property available in Webflow custom properties. Adding the flag will enable these custom styles to “win” over other (non-!important) styles applied to the element.

We hope this helps you manage critical styles without having to write fully custom code for your site. Happy building!


Launched on
June 5, 2024
Category
Layout & design

Related updates

Sync multiple variable collections and modes from Figma to Webflow

Sync multiple variable collections and modes from Figma to Webflow

Learn more
Truncate long content with text overflow

Truncate long content with text overflow

Learn more
Text Decoration Styles

Text Decoration Styles

Learn more
New variable types: Number and Percentage

New variable types: Number and Percentage

Learn more
Component style variants is now available

Component style variants is now available

Learn more
Manage variables at scale with reordering and bulk actions

Manage variables at scale with reordering and bulk actions

Learn more

Get started for free

Try Webflow for as long as you like with our free Starter plan. Purchase a paid Site plan to publish, host, and unlock additional features.

Get started — it’s free
Watch demo

Try Webflow for as long as you like with our free Starter plan. Purchase a paid Site plan to publish, host, and unlock additional features.