mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
68 lines
No EOL
1.4 KiB
HTML
68 lines
No EOL
1.4 KiB
HTML
<button class="enter-button">
|
|
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
fill="none"
|
|
viewBox="0 0 40 27"
|
|
class="arrow"
|
|
>
|
|
<line stroke-width="2" stroke="white" y2="14" x2="40" y1="14" x1="1"></line>
|
|
<line
|
|
stroke-width="2"
|
|
stroke="white"
|
|
y2="1.41537"
|
|
x2="10.4324"
|
|
y1="14.2433"
|
|
x1="1.18869"
|
|
></line>
|
|
<line
|
|
stroke-width="2"
|
|
stroke="white"
|
|
y2="13.6007"
|
|
x2="1.20055"
|
|
y1="26.2411"
|
|
x1="10.699"
|
|
></line>
|
|
<line
|
|
stroke="white"
|
|
y2="14.3133"
|
|
x2="1.07325"
|
|
y1="13.6334"
|
|
x1="0.33996"
|
|
></line>
|
|
<line stroke-width="2" stroke="white" y2="13" x2="39" y1="8" x1="39"></line>
|
|
</svg>
|
|
ENTER
|
|
</button>
|
|
|
|
<style>
|
|
/* From Uiverse.io by vinodjangid07 - Tags: black, button, active, hover effect, enter */
|
|
.enter-button {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 14px 18px;
|
|
gap: 25px;
|
|
font-size: 0.7em;
|
|
letter-spacing: 2px;
|
|
color: white;
|
|
cursor: pointer;
|
|
background: linear-gradient(to right, rgb(59, 59, 59), rgb(34, 34, 34));
|
|
position: relative;
|
|
border-radius: 8px;
|
|
border: 1px solid rgb(65, 65, 65);
|
|
transition-duration: 0.3s;
|
|
}
|
|
|
|
.arrow {
|
|
height: 20px;
|
|
}
|
|
.enter-button:hover {
|
|
transition-duration: 0.3s;
|
|
box-shadow: 0px 0px 2px rgb(185, 185, 185), 0px 0px 10px rgb(97, 97, 97);
|
|
}
|
|
.enter-button:active {
|
|
transform: scale(0.95);
|
|
}
|
|
|
|
</style>
|
|
|