mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 05:00:22 +08:00
59 lines
1 KiB
HTML
59 lines
1 KiB
HTML
<div class="card">
|
|
<div class="card__content">
|
|
<div class="card__date"> 01 . 05 . 2022
|
|
</div>
|
|
<div class="card__info">
|
|
<h3>NOTE</h3>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<style>
|
|
/* From Uiverse.io by alexreyes091 - Tags: card */
|
|
.card {
|
|
width: 254px;
|
|
height: 190px;
|
|
transform: rotate(90deg);
|
|
background: #00BCD4;
|
|
box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
|
|
transition-duration: 1.5s;
|
|
transition-property: width, height,transform;
|
|
}
|
|
|
|
.card:hover {
|
|
width: 190px;
|
|
height: 254px;
|
|
transform: rotate(0deg);
|
|
/* -ms-transform:rotate(90deg);
|
|
-webkit-transform:rotate(90deg); */
|
|
}
|
|
|
|
.card__content {
|
|
padding: 1rem;
|
|
font-size: smaller;
|
|
}
|
|
|
|
.card__date {
|
|
color: white;
|
|
margin-bottom: .5rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.card__info {
|
|
width: 100%;
|
|
height: 200px;
|
|
padding: .7rem;
|
|
font-size: smaller;
|
|
border-radius: 1rem;
|
|
text-align: center;
|
|
background-color: #fae4c3;
|
|
color: #fae4c3;
|
|
transition-duration: 1s;
|
|
transition-property: color;
|
|
}
|
|
|
|
.card__info:hover {
|
|
color: #212121;
|
|
}
|
|
|
|
|
|
</style>
|