How To Make A Custom Coke Hover Effect In Elementor

Wide transparent graphic asset of a torn paper edge rendered in white, appearing blank against a white background
Thumbnail with a man in a dark jacket on the left over a purple glow with the partly hidden heading Management: Where Talent Meets Opportunity behind him, and a large slanted orange side menu panel listing Home, About Us, Services, Our Work, Careers and Contact Us with Facebook, YouTube, Instagram and LinkedIn links, a yellow CLOSE button at the top right, a magenta circle with a white list icon at the lower left, and model portrait cards visible behind the panel

The Creative Overlay Menu in Elementor — A Full-Screen Menu That Shows Off

Reboot Addons' Creative Overlay Menu: a full-screen Elementor menu with kicker, headline, CTA and eleven animated surface options. No custom ...

Read More
A web-design studio desk with a laptop and monitors showing website layouts and design tools — the kind of monthly managed-build behind the R749 to R1999 plans.

R749 vs R999 vs R1999 — What Each Website Package Actually Gets You

R749, R999, R1499 or R1999 a month — what each Reboot Websites package actually builds, and why the gap between ...

Read More
Tall parallax website demo screenshot for Apple Watch Ultra showing a hero with the heading Apple Watch Ultra: Your Companion for Every Adventure over a close up of the watch face on a wrist, a dark section with the heading A REVOLUTIONARY BLEND OF CUTTING-EDGE TECHNOLOGY AND RUGGED DURABILITY FOR THE MODERN EXPLORER beside a floating watch band image, a section of layered watch photos with translucent highlight text, and a flat lay of the watch with an orange band beside a succulent and a Bullet planner notebook, all inside the WordPress admin bar

Advanced Text FX in Elementor — 58 Text Effects in One Widget

Advanced Text FX gives you 58 text-in effects in one Elementor widget — scramble, typewriter, glitch, neon, and a whole ...

Read More
Thumbnail with a man in a dark shirt on the right, a fan of eight portrait cards of women behind him, large distressed red and orange CARD EFFECT lettering across the bottom, a magenta circle with a white list icon at the lower right, and a blurred purple radial background

Elementor Card Widgets without Custom JS — The Free Tier

Seven content widgets plus all six form stylers that build card effects, carousels, and styled forms without writing JS. Widget ...

Read More
Showing Slide 1 of 5
Thumbnail with a man in a dark shirt on the left, two red Coca-Cola Original Taste cans on a blue water splash background, a red card titled Taste The Magic with a Read More button, a glowing blue curved arrow pointing between the cans, and a magenta hamburger menu icon

So if you follow along in the video, I refer to this blog post for you to enter code at certain points, so below is everything you will need!

Here are the images I used in this tutorial:

The Following are the css class names I used in the tutorial:

				
					reboot-container

reboot-text
				
			

The foloowing code goes into the trigger container in the Custom CSS option:

				
					:root {
    --transition: 0.5s;
    --circle-color: #000000;
    --content-background: #d4030a;
    --mobile-height: 650px;
    --mob-top: 330px;
    --border-R-on-hover:15px;
}

/* Target the container */
.reboot-container {
    position: relative;
   
    border-radius: var(--border-R-on-hover);
    transition: all var(--transition) !important;
}

/* Container elements transition */
.reboot-container,
.reboot-container .elementor-element,
.reboot-container .elementor-widget-container,
.reboot-container .elementor-widget-image,
.reboot-text {
    transition: all var(--transition) !important;
}

/* Circle background */
.reboot-container::before {
    content: "";
    background: var(--circle-color);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: var(--border-R-on-hover);
    clip-path: circle(120px at center);
    transition: all var(--transition) !important;
    z-index: 1;
}

/* Hover effect for circle */
.reboot-container:hover::before {
    clip-path: circle(500px at center);
    background: var(--content-background);
}

/* Image positioning */
.reboot-container .elementor-widget-image {
    
    width:180px!important;
    
}
.reboot-container:hover .elementor-widget-image {
    right: 0px !important;
    margin-top:0px;
   
    z-index: 2;
    
    
}

.reboot-container:hover .elementor-widget-image .elementor-widget-container {
    transform: scale(1.7);
}

/* Text visibility */
.reboot-container .reboot-text {
    opacity: 0;
    visibility: hidden;
    

    z-index: 2;
}

.reboot-container:hover .reboot-text {
    opacity: 1;
    visibility: visible;
}

.reboot-container:hover .reboot-text.elementor-element {
    margin-left: 0px !important;
}

/* Responsive styles */
@media (max-width: 767px) {
    .reboot-container {
        height: var(--mobile-height);
    }
    
    /*mobile image settings*/
    .reboot-container .elementor-widget-image .elementor-widget-container {
        transform: scale(1);
        position:relative;
        right:0px;
        top:-10px;
    }
    .reboot-container:hover .elementor-widget-image .elementor-widget-container {
    transform: scale(0.7);
    margin-top:5px;
    right:71px;
    position:relative;
    }
    
    .reboot-container:hover .elementor-widget-image {
        
        top: var(--mob-top) !important;
    }
    
    
    /*mobile text settings*/
    .reboot-container .reboot-text {
         position:relative!important;
    opacity: 0;
    visibility: hidden;
    margin-top:10%!important;
    z-index: 2;
    left:-10px!important;
    }

    
    .reboot-container:hover .coke-text.elementor-element {
        margin-top: 115px !important;
        left:-50px!important;
    }
}