Button with background dispersion animation on hover

CSS

				
					.button-float-fade:hover .elementor-button {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.button-float-fade:active .elementor-button {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.button-float-fade .elementor-button::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.4s;
    background: inherit;
}

.button-float-fade:hover .elementor-button::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
}
				
			

If it's to be used only once, add the CSS code in the "Custom CSS" field located in the "Advanced" tab of the widget where the CSS Class was applied.

If it's to be used across multiple widgets on a single page, open "Page Settings" (gear icon) and add the CSS code in the "Custom CSS" field located in the "Advanced" tab of the "Page Settings."

If it's to be used across multiple widgets on multiple pages, open "Site Settings" (sliders icon) and add the CSS code in the "Custom CSS" field located under "Custom CSS" in the "Site Settings."

HTML

				
					.button-float-fade
				
			

Add the class in the "CSS Classes" field located in the "Advanced" tab of the Button widget