.button-modern-elegant-design .elementor-button {
-webkit-mask-image: -webkit-radial-gradient(#000, #fff);
transition: all 1s cubic-bezier(0.15, 0.83, 0.66, 1);
}
.button-modern-elegant-design .elementor-button-content-wrapper {
opacity: 0.66;
transition: inherit;
}
.button-modern-elegant-design .elementor-button::before {
content: '';
position: absolute;
bottom: 0;
left: 15%;
width: 70%;
height: 1px;
border-radius: inherit;
background: rgb(255, 255, 255);
background: linear-gradient(90deg,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 1) 50%,
rgba(255, 255, 255, 0) 100%);
opacity: 0.2;
transition: inherit;
z-index: -1;
}
.button-modern-elegant-design .elementor-button::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border-radius: inherit;
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
background: radial-gradient(ellipse at bottom,
rgba(255, 255, 255, 0.2) 0%,
transparent 45%);
z-index: -2;
}
.button-modern-elegant-design:hover .elementor-button-content-wrapper {
opacity: 1;
}
.button-modern-elegant-design:hover .elementor-button::before {
opacity: 1;
}
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."
.button-modern-elegant-design
Add the class in the "CSS Classes" field located in the "Advanced" tab of the Button widget
zanina-yassine