@legendarymediatv/bootstrap
Version:
additional Bootstrap-based React components for extending functionality to react-bootstrap and gatsby
42 lines (34 loc) • 737 B
CSS
.FeatureContainer {
overflow: hidden;
}
.Feature {
background-position: center;
background-size: cover;
transition: all 0.2s ease-in-out;
z-index: 0;
}
.Feature.FeatureTextShadow {
text-shadow: 1px 1px 2px black;
}
.Feature:hover {
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.25) ;
transform: scale(1.04) translateY(-1px);
z-index: 1;
}
.Feature:active {
box-shadow: 0 0.35rem 0.75rem rgba(0, 0, 0, 0.35) ;
transform: scale(1.01) translateY(-1px);
}
.Feature .FeatureItem {
color: inherit;
display: block;
text-decoration: none;
}
.Feature a.FeatureItem *:hover {
text-decoration: none;
}
.Feature button.FeatureItem {
background-color: transparent;
border: 0;
width: 100%;
}