mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
68 lines
No EOL
2.1 KiB
HTML
68 lines
No EOL
2.1 KiB
HTML
<button class="send-message-btn">
|
|
<div class="inner-randi">
|
|
<span class="khatey">
|
|
<svg
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
fill="none"
|
|
viewBox="0 0 24 24"
|
|
height="20px"
|
|
width="20px"
|
|
>
|
|
<path
|
|
stroke-linejoin="round"
|
|
stroke-linecap="round"
|
|
stroke-width="2"
|
|
stroke="#000000"
|
|
d="M11.5003 12H5.41872M5.24634 12.7972L4.24158 15.7986C3.69128 17.4424 3.41613 18.2643 3.61359 18.7704C3.78506 19.21 4.15335 19.5432 4.6078 19.6701C5.13111 19.8161 5.92151 19.4604 7.50231 18.7491L17.6367 14.1886C19.1797 13.4942 19.9512 13.1471 20.1896 12.6648C20.3968 12.2458 20.3968 11.7541 20.1896 11.3351C19.9512 10.8529 19.1797 10.5057 17.6367 9.81135L7.48483 5.24303C5.90879 4.53382 5.12078 4.17921 4.59799 4.32468C4.14397 4.45101 3.77572 4.78336 3.60365 5.22209C3.40551 5.72728 3.67772 6.54741 4.22215 8.18767L5.24829 11.2793C5.34179 11.561 5.38855 11.7019 5.407 11.8459C5.42338 11.9738 5.42321 12.1032 5.40651 12.231C5.38768 12.375 5.34057 12.5157 5.24634 12.7972Z"
|
|
></path>
|
|
</svg>
|
|
</span>
|
|
Send Message
|
|
</div>
|
|
</button>
|
|
|
|
<style>
|
|
/* From Uiverse.io by Manish-Tamang - Tags: button, challenge, html */
|
|
.send-message-btn {
|
|
background-color: #ffffff;
|
|
border: 2px solid #e0e0e0;
|
|
border-radius: 12px;
|
|
padding: 14px; /* Increased padding to adjust for 4px gap */
|
|
cursor: pointer;
|
|
transition: all 0.2s ease-in-out;
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.send-message-btn:hover {
|
|
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
|
|
}
|
|
.send-message-btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
.inner-randi {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: #f0f0f0;
|
|
border-radius: 24px;
|
|
padding: 10px 16px;
|
|
position: relative;
|
|
width: calc(100% - 1px);
|
|
height: calc(100% - 20px);
|
|
border: 2px solid #e0e0e0;
|
|
box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
font-size: 16px;
|
|
color: #000;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.khatey {
|
|
margin-right: 8px;
|
|
transform: rotate(-30deg);
|
|
}
|
|
|
|
</style>
|
|
|