azlan-ui-components-library
Version:
Reusable UI components
31 lines (28 loc) • 589 B
CSS
.card-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
gap: 12px;
max-width: 400px;
height: fit-content;
border: 1px solid #e0e0e0;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 12px;
overflow: hidden;
padding: 12px;
transition: transform 0.2s ease-in-out;
}
.card-container:hover {
transform: scale(1.05);
}
.card-image-wrapper {
width: 100%;
text-align: center;
}
.card-meta {
display: flex;
justify-content: space-between;
width: 100%;
gap: 8px;
}