mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
43 lines
1.3 KiB
HTML
43 lines
1.3 KiB
HTML
<button>
|
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" aria-hidden="true">
|
|
<path stroke-linecap="round" stroke-linejoin="round" d="M13.5 3H12H8C6.34315 3 5 4.34315 5 6V18C5 19.6569 6.34315 21 8 21H11M13.5 3L19 8.625M13.5 3V7.625C13.5 8.17728 13.9477 8.625 14.5 8.625H19M19 8.625V11.8125" stroke="#fffffff" stroke-width="2"></path>
|
|
<path d="M17 15V18M17 21V18M17 18H14M17 18H20" stroke="#fffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
</svg>
|
|
ADD FILE
|
|
</button>
|
|
<style>
|
|
/* From Uiverse.io by SpatexDEV - Tags: button, upload, file */
|
|
button {
|
|
border: none;
|
|
display: flex;
|
|
padding: 0.75rem 1.5rem;
|
|
background-color: #488aec;
|
|
color: #ffffff;
|
|
font-size: 0.75rem;
|
|
line-height: 1rem;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
vertical-align: middle;
|
|
align-items: center;
|
|
border-radius: 0.5rem;
|
|
user-select: none;
|
|
gap: 0.75rem;
|
|
box-shadow: 0 4px 6px -1px #488aec31, 0 2px 4px -1px #488aec17;
|
|
transition: all .6s ease;
|
|
}
|
|
|
|
button:hover {
|
|
box-shadow: 0 10px 15px -3px #488aec4f, 0 4px 6px -2px #488aec17;
|
|
}
|
|
|
|
button:focus,button:active {
|
|
opacity: .85;
|
|
box-shadow: none;
|
|
}
|
|
|
|
button svg {
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
}
|
|
</style>
|