Made in Webflow

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

site profile thumbnail


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.

We miss comments too!

Right now, Made in Webflow doesn't offer all of the same functionality that Showcase did, like the ability to leave comments. But don't worry: We're working to bring comments back as soon as possible!

As always, we'd love to hear your feedback! Click the link below to take a short survey about Made in Webflow.

csssymbolsoverridecustom code

More by Sam Pilgrim

See profile
View details
Responsive postage stamps