@enact/ui
Version:
A collection of simplified unstyled cross-platform UI components for Enact
36 lines (35 loc) • 569 B
CSS
.card {
box-sizing: border-box;
}
.card .image {
display: block;
margin: 0;
}
.card.fitImage .image {
background-size: contain;
background-repeat: no-repeat;
}
.card .children,
.card.selected {
/* Public Class Names */
}
.card.captionOverlay .imageContainer {
height: 100%;
position: relative;
}
.card.captionOverlay .children {
position: absolute;
width: 100%;
bottom: 0;
left: 50%;
transform: translate(-50%);
z-index: 1;
}
.card.horizontal .image {
width: 50%;
height: 100%;
}
.card.vertical .image {
width: 100%;
height: 100%;
}