mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
26 lines
No EOL
800 B
HTML
26 lines
No EOL
800 B
HTML
<button class="button">Button</button>
|
|
|
|
<style>
|
|
/* From Uiverse.io by faxriddin20 - Tags: simple, neumorphism, 3d, minimalist, button */
|
|
.button {
|
|
cursor: pointer;
|
|
box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset,
|
|
rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset,
|
|
rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px,
|
|
rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px,
|
|
rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
|
|
border: none;
|
|
width: 160px;
|
|
height: 50px;
|
|
color: white;
|
|
background-color: transparent;
|
|
border-radius: 20px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
.button:active {
|
|
box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset,
|
|
rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
|
|
}
|
|
|
|
</style>
|
|
|