mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
41 lines
827 B
HTML
41 lines
827 B
HTML
<button class="game-button">
|
|
<svg class="play-icon" viewBox="0 0 40 40">
|
|
<path d="M 10,10 L 30,20 L 10,30 z"></path>
|
|
</svg>
|
|
Play Now
|
|
</button>
|
|
<style>
|
|
/* From Uiverse.io by adamgiebl - Tags: button */
|
|
.game-button {
|
|
background-color: #ff7979;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 20px;
|
|
padding: 10px 20px;
|
|
font-size: 18px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
font-weight: bold;
|
|
box-shadow: 2px 2px 10px #ff7979;
|
|
transition: all 0.2s ease-in-out;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
}
|
|
|
|
.play-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
fill: #fff;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.game-button:hover {
|
|
background-color: #2f3640;
|
|
color: #ff7979;
|
|
box-shadow: 2px 2px 20px #2f3640;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
</style>
|