mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
29 lines
699 B
HTML
29 lines
699 B
HTML
<button>Button</button>
|
|
<style>
|
|
/* From Uiverse.io by ZacharyCrespin - Tags: button, stack */
|
|
button {
|
|
transition: all 0.5s;
|
|
font-size: 17px;
|
|
padding: 1ch 2ch;
|
|
background-color: white;
|
|
color: #000;
|
|
font-family: Roboto, sans-serif;
|
|
border: none;
|
|
border-radius: 2px;
|
|
box-shadow: 2px 2px 0px hsl(0, 0%, 90%),
|
|
4px 4px 0px hsl(0, 0%, 80%),
|
|
6px 6px 0px hsl(0, 0%, 70%),
|
|
8px 8px 0px hsl(0, 0%, 60%),
|
|
10px 10px 0px hsl(0, 0%, 50%),
|
|
12px 12px 0px hsl(0, 0%, 40%),
|
|
14px 14px 0px hsl(0, 0%, 30%),
|
|
16px 16px 0px hsl(0, 0%, 20%),
|
|
18px 18px 0px hsl(0, 0%, 10%);
|
|
}
|
|
|
|
button:hover {
|
|
background-color: hsl(0, 0%, 50%);
|
|
color: #fff;
|
|
box-shadow: none;
|
|
}
|
|
</style>
|