Child Hover State
Easily add custom styles to text, buttons, links and more when hovering over it's parent element.
How to change a css style of a child with hovering the parent.
Firstly, make sure you have the VisualDX script before your </body>. Checkout the Quick Start for how to do this.
Add Child Hover State Attribute
Copy this attribute:
Paste the attribute to the custom attributes Name of a parent element. e.g. a button.
You can so this with a Link Block, Div, or Custom Element.
Add Child Hover State Attribute
Copy this combo class:
Paste the combo class into the Style Selector of the styled child element(s). e.g. the button text
You can add the combo class all child elements nested in parent.
Style the combo class vdx--hover
.
These styles will become visible when the use hovers over the parent element once the website is published.
Remove Combo Class and Publish
Remove combo class vdx--hover
from the style selector and publish
Sponsor the Magic and
Buy Me a Beer

VisualDX is a free JavaScript library made for Webflow nerds like yourself. No ads, no paywalls—just pure, unfiltered JavaScript magic to supercharge your builds. If it’s saving you time, making your development easier, or just making you feel like a wizard in the Webflow Designer, consider slinging a virtual coffee my way.
Think of it like buying me a pint for keeping your Webflow spells flowing.
You can support it here.
Cheers, legend!
This is a method based on community and soundness. If you can't afford it, don't worry... One of your fellow Webflow nerds has already helped you out by donating.