mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
73 lines
1.2 KiB
HTML
73 lines
1.2 KiB
HTML
<div class="card">
|
|
<div class="smallIcon">
|
|
<div class="Icon"></div>
|
|
<div class="Name"></div>
|
|
<div class="Roles"></div>
|
|
<div class="Descripion"></div>
|
|
</div>
|
|
</div>
|
|
<style>
|
|
/* From Uiverse.io by 1osm - Tags: card */
|
|
.card {
|
|
width: 250px;
|
|
height: 90px;
|
|
background: #262626;
|
|
}
|
|
|
|
.smallIcon {
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #ff5858;
|
|
}
|
|
|
|
.smallIcon div {
|
|
background: linear-gradient(120deg, #e5e5e5 30%, #f0f0f0 38%, #f0f0f0
|
|
40%, #e5e5e5 48%);
|
|
margin-top: 10px;
|
|
background-size: 200% 100%;
|
|
background-position: 100% 0;
|
|
animation: load89234 2s infinite;
|
|
color: #262626;
|
|
font-weight: bold;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.Icon {
|
|
margin: 10px;
|
|
width: 70px;
|
|
height: 70px;
|
|
float: left;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.Name {
|
|
width: 90px;
|
|
height: 20px;
|
|
float: left;
|
|
transform: translate(10px ,0px);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.Roles {
|
|
width: 40px;
|
|
height: 20px;
|
|
float: left;
|
|
transform: translate(20px ,0px);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.Descripion {
|
|
margin: 10px;
|
|
width: 140px;
|
|
height: 45px;
|
|
float: left;
|
|
transform: translate(0px ,-5px);
|
|
border-radius: 5px;
|
|
}
|
|
|
|
@keyframes load89234 {
|
|
100% {
|
|
background-position: -100% 0;
|
|
}
|
|
}
|
|
</style>
|