mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
37 lines
1.1 KiB
HTML
37 lines
1.1 KiB
HTML
<button>
|
|
<svg viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round" class="css-i6dzq1"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"></polygon></svg> Explore me
|
|
</button>
|
|
<style>
|
|
/* From Uiverse.io by barisdogansutcu - Tags: neumorphism, icon, button */
|
|
button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
font-family: inherit;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.4px;
|
|
color: #7e97b8;
|
|
background-color: #e0e8ef;
|
|
border-style: solid;
|
|
border-width: 2px 2px 2px 2px;
|
|
border-color: rgba(255, 255, 255, 0.333);
|
|
border-radius: 40px 40px 40px 40px;
|
|
padding: 16px 24px 16px 28px;
|
|
transform: translate(0px, 0px) rotate(0deg);
|
|
transition: 0.2s;
|
|
box-shadow: -4px -2px 16px 0px #ffffff, 4px 2px 16px 0px rgb(95 157 231 / 48%);
|
|
}
|
|
|
|
button:hover {
|
|
color: #516d91;
|
|
background-color: #E5EDF5;
|
|
box-shadow: -2px -1px 8px 0px #ffffff, 2px 1px 8px 0px rgb(95 157 231 / 48%);
|
|
}
|
|
|
|
button:active {
|
|
box-shadow: none;
|
|
}
|
|
</style>
|