galaxy/Buttons/UNDERMAKEING_wonderful-cat-67.html

142 lines
No EOL
2.7 KiB
HTML

<button class="reward-btn">
<span class="IconContainer">
<svg
class="box-top box"
viewBox="0 0 60 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M2 18L58 18"
stroke="#6A8EF6"
stroke-width="4"
stroke-linecap="round"
></path>
<circle
cx="20.5"
cy="9.5"
r="7"
fill="#101218"
stroke="#6A8EF6"
stroke-width="5"
></circle>
<circle
cx="38.5"
cy="9.5"
r="7"
fill="#101218"
stroke="#6A8EF6"
stroke-width="5"
></circle>
</svg>
<svg
class="box-body box"
viewBox="0 0 58 44"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<mask id="path-1-inside-1_81_19" fill="white">
<rect width="58" height="44" rx="3"></rect>
</mask>
<rect
width="58"
height="44"
rx="3"
fill="#101218"
stroke="#6A8EF6"
stroke-width="8"
mask="url(#path-1-inside-1_81_19)"
></rect>
<line
x1="-3.61529e-09"
y1="29"
x2="58"
y2="29"
stroke="#6A8EF6"
stroke-width="6"
></line>
<path
d="M45.0005 20L36 3"
stroke="#6A8EF6"
stroke-width="5"
stroke-linecap="round"
></path>
<path
d="M21 3L13.0002 19.9992"
stroke="#6A8EF6"
stroke-width="5"
stroke-linecap="round"
></path>
</svg>
<span class="coin"></span>
</span>
<span class="text">Rewards</span>
</button>
<style>
/* From Uiverse.io by UNDERMAKEING - Tags: button */
/* From Uiverse.io by vinodjangid07 */
.reward-btn {
width: 120px;
height: 40px;
background-color: #101218;
display: flex;
align-items: center;
justify-content: center;
border: none;
border-radius: 8px;
cursor: pointer;
transition: all 0.3s;
}
.IconContainer {
width: 40px;
height: 40px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: relative;
}
.IconContainer svg {
width: 40%;
z-index: 3;
}
.box-top {
transition: all 0.3s;
}
.text {
width: 70px;
height: 100%;
font-size: 13px;
color: #6a8ef6;
display: flex;
align-items: center;
justify-content: flex-start;
font-weight: 600;
}
.reward-btn:hover .IconContainer .box-top {
transform: translateY(-5px);
}
.reward-btn:hover {
background-color: #202531;
}
.reward-btn:hover .coin {
transform: translateY(-5px);
transition-delay: 0.2s;
}
.coin {
width: 25%;
height: 25%;
background-color: #e4d61a;
position: absolute;
border-radius: 50%;
transition: all 0.3s;
z-index: 1;
border: 2px solid #ffe956;
margin-top: 4px;
}
</style>