Button with rotating icon on hover

CSS

				
					.spin-icon-button-hover:hover .e-font-icon-svg {
    animation: spin-icon-button-hover 2s linear infinite;
}

@keyframes spin-icon-button-hover {
    to {
        transform: rotate(1turn)
    }
}
				
			

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

				
					.spin-icon-button-hover
				
			

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