5.6: Styling Member Cards
Separating The Cards
#card {
margin: 15px 0 15px 0;
}Card Styling
h5 {
font-size: 16px;
font-weight: 700;
margin-top: 1px;
margin-bottom: 1px;
}
h5 small {
font-weight: bold;
font-size: 12px;
font-style: italic;
}
img {
transform: scale(1, 1);
transition-duration: 500ms;
transition-timing-function: ease-out;
}
.card:hover img {
transform: scale(1.2, 1.2);
transition-duration: 500ms;
transition-timing-function: ease-out;
opacity: 0.7;
}
.image {
overflow: hidden;
position: relative;
}Adding Buttons to the Cards
Last updated