mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
68 lines
1.1 KiB
HTML
68 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 Alaner-xs - Tags: gradient, card */
|
|
.card {
|
|
width: 190px;
|
|
height: 254px;
|
|
background-image: linear-gradient(144deg,#8608b4, #492fed 60%,#bd6fda);
|
|
border: none;
|
|
border-radius: 10px;
|
|
padding-top: 10px;
|
|
position: relative;
|
|
margin: auto;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.card span {
|
|
font-weight: 600;
|
|
color: white;
|
|
text-align: center;
|
|
display: block;
|
|
padding-top: 10px;
|
|
font-size: 1.3em;
|
|
}
|
|
|
|
.card .job {
|
|
font-weight: 400;
|
|
color: white;
|
|
display: block;
|
|
text-align: center;
|
|
padding-top: 5px;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.card .img {
|
|
width: 70px;
|
|
height: 70px;
|
|
background: #e8e8e8;
|
|
border-radius: 100%;
|
|
margin: auto;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.card button {
|
|
padding: 8px 25px;
|
|
display: block;
|
|
margin: auto;
|
|
border-radius: 8px;
|
|
border: none;
|
|
margin-top: 30px;
|
|
background: #e8e8e8;
|
|
color: #111111;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.card button:hover {
|
|
background: #212121;
|
|
color: #ffffff;
|
|
}
|
|
</style>
|