mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 13:10:21 +08:00
54 lines
No EOL
1.1 KiB
HTML
54 lines
No EOL
1.1 KiB
HTML
<div class="button-container">
|
|
<button class="styled-button">Join Today <span class="arrow">→</span></button>
|
|
</div>
|
|
|
|
<style>
|
|
/* From Uiverse.io by aryansagar2405 - Tags: button */
|
|
body {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100vh;
|
|
background-color: #f5f0ff;
|
|
margin: 0;
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
.button-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
perspective: 1000px;
|
|
}
|
|
|
|
.styled-button {
|
|
background: linear-gradient(145deg, #c77dff, #9a49f0);
|
|
color: #ffffff;
|
|
border: none;
|
|
border-radius: 20px;
|
|
padding: 15px 40px;
|
|
font-size: 1.2em;
|
|
font-weight: 500;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
|
|
transform: rotateY(-5deg) rotateX(2deg);
|
|
transition:
|
|
transform 0.2s ease,
|
|
box-shadow 0.2s ease;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.styled-button .arrow {
|
|
font-size: 1.2em;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.styled-button:hover {
|
|
transform: rotateY(-5deg) rotateX(2deg) translateY(-5px);
|
|
box-shadow: 0px 12px 20px rgba(0, 0, 0, 0.4);
|
|
}
|
|
|
|
</style>
|
|
|