Marketplace
Made in Webflow

Modifying the styles of symbols with the :has() selector

304 views
site profile thumbnail

Description

The new :has() selector is very cool. We can use it to modify the style of symbols in Webflow using override fields. Here we're using a link override field in a symbol to change a symbol's styling from light to dark. Take a look at the cloneable or the linked blog post to read more. NB - support for the :has() selector is limited to Safari and Chrome Beta at this point, so it's not quite ready for live sites!
Feeling inspired?If this Made In Webflow site sparked some inspo, why not get started on a project of your own? Clone a site, purchase a template or start building from scratch.
csssymbolsoverridecustom code

More by Sam Pilgrim

See profile
View details
Responsive postage stamps
121
191