mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 13:10:21 +08:00
48 lines
917 B
HTML
48 lines
917 B
HTML
<button class="btn">
|
|
<div class="scroll"> </div>
|
|
</button>
|
|
<style>
|
|
/* From Uiverse.io by boryanakrasteva - Tags: button */
|
|
.btn {
|
|
width: 30px;
|
|
height: 50px;
|
|
border-radius: 30px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: transparent;
|
|
border: none;
|
|
outline: 2px solid rgb(105, 127, 255);
|
|
box-shadow: 0px 0px 10px rgb(105, 127, 255);
|
|
position: relative;
|
|
}
|
|
|
|
.scroll {
|
|
width: 5px;
|
|
height: 10px;
|
|
border-radius: 10px;
|
|
background-color: rgb(105, 127, 255);
|
|
box-shadow: 0px 0px 10px rgb(105, 127, 255);
|
|
animation: scroll_4013 2s linear infinite;
|
|
transform: translateY(40%);
|
|
}
|
|
|
|
.btn:after {
|
|
content: 'scroll';
|
|
position: absolute;
|
|
top: 140%;
|
|
color: whitesmoke;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1.5px;
|
|
}
|
|
|
|
@keyframes scroll_4013 {
|
|
0% {
|
|
transform: translateY(40%);
|
|
}
|
|
|
|
50% {
|
|
transform: translateY(90%);
|
|
}
|
|
};
|
|
</style>
|