galaxy/Buttons/Yaya12085_plastic-quail-42.html

41 lines
1 KiB
HTML

<button class="button">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 24">
<path d="m18 0 8 12 10-8-4 20H4L0 4l10 8 8-12z"></path>
</svg>
Unlock Pro
</button>
<style>
/* From Uiverse.io by Yaya12085 - Source: https://uiverse.io/satyamchaudharydev/great-seahorse-44 - Tags: button, design, hover button */
.button {
width: fit-content;
display: flex;
padding: 1.2em 1rem;
cursor: pointer;
gap: 0.4rem;
font-weight: bold;
border-radius: 30px;
text-shadow: 2px 2px 3px rgb(136 0 136 / 50%);
background: linear-gradient(15deg, #880088, #aa2068, #cc3f47, #de6f3d, #f09f33, #de6f3d, #cc3f47, #aa2068, #880088) no-repeat;
background-size: 300%;
color: #fff;
border: none;
background-position: left center;
box-shadow: 0 30px 10px -20px rgba(0,0,0,.2);
transition: background .3s ease;
}
.button:hover {
background-size: 320%;
background-position: right center;
}
.button:hover svg {
fill: #fff;
}
.button svg {
width: 23px;
fill: #f09f33;
transition: .3s ease;
}
</style>