fbpx

How to create background hover effect in elementor

In this video, you’ll learn how to create a background hover animation effect in elementor.

selector{
    --bg-gradient-colors:#FF5454, #E90840;
    --bg-gradient-angle:180deg;
    --card-bg-color:#fff;
    --card-gradient-colors:#FF5454, #E90840;
    --card-gradient-angle:45deg;
    --bg-transition-speed:0.5s;
    --hover-text-color:#fff;
}
selector:hover *{
    color: var(--hover-text-color);
}
selector{
    position: static;
}
selector:after{
    content:"";
    position: absolute;
    left: 0;
    top: 0;
    transition: all var(--bg-transition-speed) ease-in;
    opacity: 0;
}
selector:hover:after{
    background: linear-gradient(var(--bg-gradient-angle), var(--bg-gradient-colors));
    opacity: 1;
    width: 100%;
    height: 100%;
     transition: all var(--bg-transition-speed) ease-in;
}
selector .card{
    background:#fff;
}
selector:hover .card{
    background: linear-gradient(var(--card-gradient-angle), var(--card-gradient-colors));
}

Disclosure: Some of the links here are referral/affiliate links which means if you decide to buy through those links I’ll earn a commission at no extra cost to you. This is how I keep Designtheway.com up and running.

Plugin used

Here are some of my favorite website building tools

Thank you for reading the article hope you have found this helpful. Here are some of my favorite tools that I always use and hope you will find them helpful too. Please note these are affiliate links, if you do purchase anything using my links I’ll earn a small commission at no extra cost to you. I recommend these tools to my clients and friends as well.

Web Hosting: For starting a new website, I like to use GreenGeeks. They are reliable and affordable for a beginner. They have a very simple setup process that anyone can use. I’m personally using their service for over a year now.

Page Builder: For building beautiful websites in a short period of time I like to use Elementor. It is one of the most powerful page builders in the market. You don’t need any technical knowledge to make websites.

Content Writing: When you make a website you have to add content to it. I use Grammarly to write better content. It improves the writing by checking spelling and grammar mistakes automatically. It has a premium version but for starters, the free version is a good starting point.

Advertising Network: When you have built the website and have traffic on it, ads are the easiest way to monetize the website. Adsense is the most popular choice but I recommend Ezoic which will give you a much higher earning than Adsense and the best part is it is free to use.

You may also like

Picture of Ananda Projapati

Ananda Projapati

A freelance Wordpress consultant and educator.

Recent Posts

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.