(This page includes affiliate links. If you click and purchase, I receive a small commission at no extra cost from you and that way you can support me. I only recommend tools that I have personally used and loved.)
Tutorial Video:
Don’t want to make from scratch? Get the template instead 🙂
Introduction – Fancy Buttons are expand on hover
In this tutorial, we will create this animated hover buttons in Elementor with simple CSS.
Support by
using these links
(Affiliate)
COUPON CODE - DMmotionarts (10% off)
Fancy Buttons CSS Code
- –dmExpandColor1… : These are variables that store gradient colors. You can update to your colors or add even more options.
- If you added more color variables above, make sure to create the new CSS class at the bottom of the code (around line 202). Watch video to understand it better.
- dm-expand-button is the CSS class of the container that will act as button.
- dm-expand-button-icon is the CSS class of the icon added in button. If you don’t want to use buttons, then give this class to another widget that you used.
- dm-expand-button-text the CSS class of the text that is shown on hover.
- dm-expand-color1 …. : These are extra CSS classes that we add to the same container that has the CSS class dm-expand-button. If you added new variables for more colors as per point 1 above then you also need to create new CSS class. (Just look at the end codes after line 202).Â
- Watch video tutorial above to get more detailed explanation.
