Home / Widgets / Button-Movement #The Greek
Duplicate Snippet

Embed Snippet on Your Site

Button-Movement #The Greek

This CSS code defines the styling for a button element, along with hover effects that are triggered when the user moves the mouse over the button.

Pharmacy Needs
<10
Code Preview
css
button {
	padding: 10px 20px;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    border-radius: 5px;
}
button:hover {
    background-color: #ff6347;
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}

Comments

Add a Comment