Possible to change a style after hover? Does Divhunt have stateful components?

I am trying to create a timeline where if a user hovers on one of the child components, it gets full opacity (default without hover/click it will have a low opacity). I haven’t built this timeline in DivHunt yet but I am assuming that if I hover, it will change state but then they style will rever back to having lower opacity once the mouse stops hovering on the timeline?

Here’s a video showing what I mean: Loom | Free Screen & Video Recording Software | Loom

So to sum up - is it possible to permanently change the style of a component once I hover over an element?

Also while I have you - does Divhunt allow us to create different states for components and then apply styles programmatically depending on style? I am guessing this is what variables are for but I haven’t checked those out yet (am learning by doing :stuck_out_tongue: )


1 Like