mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 13:10:21 +08:00
71 lines
1.1 KiB
HTML
71 lines
1.1 KiB
HTML
<div class="card">
|
|
<div class="card-border-top">
|
|
</div>
|
|
<div class="img">
|
|
</div>
|
|
<span> Person</span>
|
|
<p class="job"> Job Title</p>
|
|
<button> Click
|
|
</button>
|
|
</div>
|
|
<style>
|
|
/* From Uiverse.io by alexmaracinaru - Tags: card */
|
|
.card {
|
|
width: 190px;
|
|
height: 254px;
|
|
background: #3405a3;
|
|
border-radius: 15px;
|
|
box-shadow: 1px 5px 60px 0px #100a886b;
|
|
}
|
|
|
|
.card .card-border-top {
|
|
width: 60%;
|
|
height: 3%;
|
|
background: #6b64f3;
|
|
margin: auto;
|
|
border-radius: 0px 0px 15px 15px;
|
|
}
|
|
|
|
.card span {
|
|
font-weight: 600;
|
|
color: white;
|
|
text-align: center;
|
|
display: block;
|
|
padding-top: 10px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.card .job {
|
|
font-weight: 400;
|
|
color: white;
|
|
display: block;
|
|
text-align: center;
|
|
padding-top: 3px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.card .img {
|
|
width: 70px;
|
|
height: 80px;
|
|
background: #6b64f3;
|
|
border-radius: 15px;
|
|
margin: auto;
|
|
margin-top: 25px;
|
|
}
|
|
|
|
.card button {
|
|
padding: 8px 25px;
|
|
display: block;
|
|
margin: auto;
|
|
border-radius: 8px;
|
|
border: none;
|
|
margin-top: 30px;
|
|
background: #6b64f3;
|
|
color: white;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.card button:hover {
|
|
background: #534bf3;
|
|
}
|
|
</style>
|