galaxy/Buttons/Navs45_quick-dolphin-19.html

96 lines
No EOL
3.1 KiB
HTML

<button class="button">
<div class="inner">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
class="icon"
>
<g stroke-width="0" id="SVGRepo_bgCarrier"></g>
<g
stroke-linejoin="round"
stroke-linecap="round"
id="SVGRepo_tracerCarrier"
></g>
<g id="SVGRepo_iconCarrier">
<path
fill="#000000"
d="M14.2199 21.63C13.0399 21.63 11.3699 20.8 10.0499 16.83L9.32988 14.67L7.16988 13.95C3.20988 12.63 2.37988 10.96 2.37988 9.78001C2.37988 8.61001 3.20988 6.93001 7.16988 5.60001L15.6599 2.77001C17.7799 2.06001 19.5499 2.27001 20.6399 3.35001C21.7299 4.43001 21.9399 6.21001 21.2299 8.33001L18.3999 16.82C17.0699 20.8 15.3999 21.63 14.2199 21.63ZM7.63988 7.03001C4.85988 7.96001 3.86988 9.06001 3.86988 9.78001C3.86988 10.5 4.85988 11.6 7.63988 12.52L10.1599 13.36C10.3799 13.43 10.5599 13.61 10.6299 13.83L11.4699 16.35C12.3899 19.13 13.4999 20.12 14.2199 20.12C14.9399 20.12 16.0399 19.13 16.9699 16.35L19.7999 7.86001C20.3099 6.32001 20.2199 5.06001 19.5699 4.41001C18.9199 3.76001 17.6599 3.68001 16.1299 4.19001L7.63988 7.03001Z"
></path>
<path
fill="#000000"
d="M10.11 14.4C9.92005 14.4 9.73005 14.33 9.58005 14.18C9.29005 13.89 9.29005 13.41 9.58005 13.12L13.16 9.53C13.45 9.24 13.93 9.24 14.22 9.53C14.51 9.82 14.51 10.3 14.22 10.59L10.64 14.18C10.5 14.33 10.3 14.4 10.11 14.4Z"
></path>
</g>
</svg>
<span id="text">Send Message</span>
</div>
</button>
<style>
/* From Uiverse.io by Navs45 - Tags: icon, white, button, transition, btn, hover effect, html, css */
.button {
cursor: pointer;
}
.button {
border: none;
position: relative;
width: 249px;
height: 80px;
flex-shrink: 0;
border-radius: 15px;
background: #fff;
box-shadow: -2px 2px 1.3px 1px #7f807f,
-5px 5px 2.8px 0px rgba(255, 255, 255, 0.5), -5px 7px 4.4px 0px #c5c6c5,
0px 0px 2.4px 4px #e4e5e4;
transition: background-color 0.3s ease, transform 0.3s ease,
box-shadow 0.3s ease;
}
.button:hover {
background-color: #e0e0e0;
transform: translateY(-5px);
box-shadow: -2px 2px 1.3px 1px #7f807f,
-5px 5px 2.8px 0px rgba(255, 255, 255, 0.5), -5px 7px 4.4px 0px #c5c6c5,
0px 0px 2.4px 4px #e4e5e4, 0px 10px 20px rgba(0, 0, 0, 0.2);
}
.inner {
display: flex;
justify-content: center;
align-items: center;
width: 236px;
height: 69px;
flex-shrink: 0;
border-radius: 39px;
background: #fff;
box-shadow: -1px -1px 0px 0px rgba(141, 139, 139, 0.35),
38px 3px 13.2px 0px rgba(196, 196, 196, 0.25) inset,
-3px 1px 10.1px 0px rgba(87, 87, 87, 0.25) inset;
margin: 7px 4px 6px 7px;
}
.icon {
width: 30px;
height: 30px;
}
#text {
color: #0b0b0b;
font-family: "Poppins", sans-serif;
font-size: 23.1px;
font-style: normal;
font-weight: 500;
line-height: normal;
padding: 4px;
transition: color 0.3s, transform 0.3s, text-shadow 0.3s;
}
#text:hover {
color: #fff;
text-shadow: 1px 1px 1px #acaaaa, 1px 2px 1px #7d7d7d, 1px 1px 1px #acaaaa,
1px 2px 1px #7d7d7d, 1px 20px 40px rgba(147, 147, 147, 0.3);
}
</style>