galaxy/Buttons/Showbizfleet_sweet-squid-86.html

37 lines
909 B
HTML

<button>
Button
</button>
<style>
/* From Uiverse.io by Showbizfleet - Tags: button */
button {
height: 50px;
margin: 5px;
width: 120px;
font-family: 'Montserrat', sans-serif;
font-weight: 600;
font-size: 16px;
color: #fff;
border: none;
border-radius: 5px;
background: linear-gradient(145deg, #9c27b0, #f44336, #ff9800, #ffc107, #8bc34a, #4caf50, #2196f3, #03a9f4, #00bcd4, #009688);
background-size: 200%;
background-position: 0%;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.25), inset 0px -1px 0px rgba(255, 255, 255, 0.2);
transition: all 0.3s ease-in-out;
}
button:hover {
background-position: 100%;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25), inset 0px -2px 0px rgba(255, 255, 255, 0.2);
}
button:focus {
outline: none;
}
button:active {
background-size: 100%;
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25), inset 0px -1px 0px rgba(255, 255, 255, 0.2);
}
</style>