mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 13:10:21 +08:00
74 lines
1.7 KiB
HTML
74 lines
1.7 KiB
HTML
<div class="card">
|
|
<div class="content">
|
|
<div class="title">Personal edition</div>
|
|
<div class="price">$39.99</div>
|
|
<div class="description">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur at posuere eros. Interdum et malesuada fames ac ante ipsum primis in faucibus.</div>
|
|
</div>
|
|
<button>
|
|
Buy now
|
|
</button>
|
|
</div>
|
|
<style>
|
|
/* From Uiverse.io by Yaya12085 - Tags: card, sub, plan */
|
|
.card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
width: 260px;
|
|
padding: 20px 1px;
|
|
margin: 10px 0;
|
|
text-align: center;
|
|
position: relative;
|
|
cursor: pointer;
|
|
box-shadow: 0 10px 15px -3px rgba(33,150,243,.4),0 4px 6px -4px rgba(33,150,243,.4);
|
|
border-radius: 10px;
|
|
background-color: #6B6ECC;
|
|
background: linear-gradient(45deg, #04051dea 0%, #2b566e 100%);
|
|
}
|
|
|
|
.content {
|
|
padding: 20px;
|
|
}
|
|
|
|
.content .price {
|
|
color: white;
|
|
font-weight: 800;
|
|
font-size: 50px;
|
|
text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.42);
|
|
}
|
|
|
|
.content .description {
|
|
color: rgba(255, 255, 255, 0.6);
|
|
margin-top: 10px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.content .title {
|
|
font-weight: 800;
|
|
text-transform: uppercase;
|
|
color: rgba(255, 255, 255, 0.64);
|
|
margin-top: 10px;
|
|
font-size: 25px;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
button {
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
border: none;
|
|
outline: none;
|
|
color: rgb(255 255 255);
|
|
text-transform: uppercase;
|
|
font-weight: 700;
|
|
font-size: .75rem;
|
|
padding: 0.75rem 1.5rem;
|
|
background-color: rgb(33 150 243);
|
|
border-radius: 0.5rem;
|
|
width: 90%;
|
|
text-shadow: 0px 4px 18px #2c3442;
|
|
}
|
|
|
|
|
|
</style>
|