14 lines
258 B
SCSS
14 lines
258 B
SCSS
.cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
|
|
grid-gap: 2em;
|
|
}
|
|
.card {
|
|
|
|
}
|
|
.card__img {
|
|
width: 100%;
|
|
}
|
|
.card__body {padding: 1em;}
|
|
.card__title {font-weight: 700; margin-bottom: 0.7em;}
|
|
.card__desc {line-height: 1.4;} |