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

14 lines
264 B
SCSS
Raw Normal View History

2020-10-10 19:47:58 +00:00
.cards {
display: grid;
2021-01-27 13:10:13 +00:00
grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
grid-gap: 2em;
2020-10-10 19:47:58 +00:00
}
.card {
2021-01-27 13:10:13 +00:00
2020-10-10 19:47:58 +00:00
}
2021-01-27 13:10:13 +00:00
.card__img {
2020-10-10 19:47:58 +00:00
width: 100%;
}
2021-01-28 10:13:41 +00:00
.card__body {}
.card__title {font-weight: 700; margin-bottom: 0.7em; margin-top: 1.4em;}
2021-01-27 13:10:13 +00:00
.card__desc {line-height: 1.4;}