abdullahtarawneh.com/assets/scss/index/cards.scss

23 lines
309 B
SCSS

.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(15em,1fr));
gap: 2em;
}
.card {
background: white;
}
.card img {
width: 100%;
height: auto;
}
#process .card img {
height: 200px;
}
.card h3 {
margin: 1em 0;
font-weight: 700;
}
.card p {
margin-bottom: 1em;
line-height: 1.4;
}