junelis
126
2
Vue

How to activate btn:hover!

Posted 6 months ago by junelis

Hi,

what I am trying to do is when I hover a div element that should also activate hover selector for the button .btn class. I know that I could v-bind:class="{ btn-is-hovered: isActive,}" one more class to the button (ex. btn-is-hovered and copy same style from btn:hover into .btn-is-hovered) but I don`t want to repeat styles that are already exist (I am using vuetify).

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.