-
AuthorPosts
-
March 16, 2024 at 6:43 pm #1437377
How do I apply the hover effect to increase the column when it is selected?
March 17, 2024 at 12:39 pm #1437404Hey leilitacc,
Typically something like this would work:#top .flex_column:hover { animation: grow 2s; animation-fill-mode: forwards; } @keyframes grow { to { transform: scale(1.2) } }
but you probably will need to adjust the class for your column, if you need help please link to your page so we can examine.
Best regards,
MikeMarch 18, 2024 at 3:31 am #1437431Thanks for the answer. I applied it and it worked really well.
But I would like to improve the effect. Is it possible to apply a 1px yellow border to the hover effect?
I would also like to know how to cancel the effect in some columns where I don’t want the effect?March 18, 2024 at 4:53 am #1437432Hi,
Is it possible to apply a 1px yellow border to the hover effect?
Yes, that should be possible. Please replace the modification with the following code:
#top .flex_column:hover { animation: grow 2s; animation-fill-mode: forwards; } @keyframes grow { to { transform: scale(1.2); border: 1px solid yellow; } }
Best regards,
IsmaelMarch 18, 2024 at 3:43 pm #1437487Thanks for the answer!
I would like to know how to apply the effect to the column alone, and not to all columns on the site. It’s possible?March 18, 2024 at 6:25 pm #1437508Hi,
You could add a custom class to the column that you want it to would on and then add the custom class to the css, like this:#top .customClass.flex_column:hover { animation: grow 2s; animation-fill-mode: forwards; } @keyframes grow { to { transform: scale(1.2); border: 1px solid yellow; } }
Just change customClass to what you choose to use.
Best regards,
MikeMarch 21, 2024 at 5:00 am #1437724Thank you very much. It worked, but in smartphone screen the columns are getting squeezed to the right. I tried to configure responsive positions and functions but it didn’t work. Any suggestion?
March 21, 2024 at 10:58 am #1437763 -
AuthorPosts
- You must be logged in to reply to this topic.