mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 13:10:21 +08:00
40 lines
957 B
HTML
40 lines
957 B
HTML
<button class="button">
|
|
<svg viewBox="0 0 36 24" xmlns="http://www.w3.org/2000/svg">
|
|
<path d="m18 0 8 12 10-8-4 20H4L0 4l10 8 8-12z"></path>
|
|
</svg>
|
|
Unlock Pro
|
|
</button>
|
|
<style>
|
|
/* From Uiverse.io by satyamchaudharydev - Tags: icon, button, 3d button */
|
|
/* inspired from this svgbackgrounds.com/ */
|
|
.button {
|
|
width: fit-content;
|
|
display: flex;
|
|
padding: 0.8em 1.1em;
|
|
gap: 0.4rem;
|
|
border: none;
|
|
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%;
|
|
background-position: left center;
|
|
transition: background .3s ease;
|
|
color: #fff;
|
|
}
|
|
|
|
.button:hover {
|
|
background-size: 320%;
|
|
background-position: right center;
|
|
}
|
|
|
|
.button:hover svg {
|
|
fill: #fff;
|
|
}
|
|
|
|
.button svg {
|
|
width: 23px;
|
|
fill: #f09f33;
|
|
transition: .3s ease;
|
|
}
|
|
</style>
|