mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
96 lines
1.8 KiB
HTML
96 lines
1.8 KiB
HTML
<div class="container">
|
|
<p class="title">GPT Plus</p>
|
|
<p class="price">$20<span>/month</span></p>
|
|
<p class="description">Access to GPT-4, our most capable model. Faster response speed.</p>
|
|
<b class="offer">Act fast! Offer ends on October 25, 2023.</b>
|
|
<a class="subscribe-button" href="#">Upgrade</a>
|
|
<div class="ribbon-wrap">
|
|
<div class="ribbon">Special Offer!</div>
|
|
</div>
|
|
</div>
|
|
<style>
|
|
/* From Uiverse.io by mi-series - Tags: simple, material design, pricing, green, minimalist, card, chatgpt */
|
|
.container {
|
|
width: 300px;
|
|
padding: 15px;
|
|
background: #ffffff;
|
|
text-align: center;
|
|
border: 1px solid #000;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
|
|
position: relative;
|
|
}
|
|
|
|
.container .title {
|
|
font-size: 2rem;
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
|
|
.container .price {
|
|
color: #40B3A2;
|
|
font-weight: 700;
|
|
font-size: 2.2rem;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.container span {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.container .description {
|
|
color: #3b3b3b;
|
|
font-size: 1.1rem;
|
|
margin: 10px 0 10px;
|
|
}
|
|
|
|
.container .offer {
|
|
display: block;
|
|
color: #555;
|
|
font-size: 1rem;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.subscribe-button {
|
|
display: inline-block;
|
|
padding: 5px 0;
|
|
background-color: #40B3A2;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
border: 1px solid #000;
|
|
border-radius: 30px;
|
|
font-size: 1.2rem;
|
|
margin-top: 20px;
|
|
width: 50%;
|
|
font-weight: 500;
|
|
transition: 0.2s ease;
|
|
}
|
|
|
|
.subscribe-button:hover {
|
|
opacity: .85;
|
|
}
|
|
|
|
.ribbon-wrap {
|
|
width: 80px;
|
|
height: 80px;
|
|
position: absolute;
|
|
top: -20px;
|
|
left: 50px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.ribbon {
|
|
width: 200px;
|
|
font-size: 0.8rem;
|
|
text-align: center;
|
|
padding: 4px 0;
|
|
border: 1px solid #000;
|
|
background: #40B3A2;
|
|
color: #fff;
|
|
position: absolute;
|
|
transform: rotate(-45deg);
|
|
right: -10px;
|
|
top: 55%;
|
|
}
|
|
</style>
|