mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
44 lines
734 B
HTML
44 lines
734 B
HTML
<button class="mouse">
|
|
<div class="scroll"></div>
|
|
|
|
</button>
|
|
<style>
|
|
/* From Uiverse.io by boryanakrasteva - Tags: button */
|
|
.mouse {
|
|
width: 25px;
|
|
height: 40px;
|
|
border: 1px solid rgb(196, 196, 196);
|
|
background-color: transparent;
|
|
border-radius: 13px;
|
|
border-bottom-left-radius: 20px;
|
|
border-bottom-right-radius: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
}
|
|
|
|
.scroll {
|
|
width: 3px;
|
|
height: 10px;
|
|
background-color: rgb(196, 196, 196);
|
|
border-radius: 2px;
|
|
position: absolute;
|
|
bottom: 9px;
|
|
animation: move_918 1.5s linear infinite;
|
|
}
|
|
|
|
@keyframes move_918 {
|
|
0% {
|
|
bottom: 9px;
|
|
}
|
|
|
|
50% {
|
|
bottom: 5px;
|
|
}
|
|
|
|
100% {
|
|
bottom: 9px;
|
|
}
|
|
}
|
|
</style>
|