Clone Project

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

Created by
Sam Pilgrim
Similar Projects
Oops! Something went wrong while submitting the form.

0 Comments

Be the first to leave a comment.
Loading
User is typing...
No Name
Set
4 years ago
Moderator
This is the actual comment. It's can be long or short. And must contain only text information.
(Edited)
No Name
Set
2 years ago
Moderator
This is the actual comment. It's can be long or short. And must contain only text information.
(Edited)
Load More
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Load More
Description:  
Description from Webflow:  
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!
Tags from Webflow: 
css, symbols, override, custom code
.