Skip to content

Instantly share code, notes, and snippets.

@thecodemedia
Created June 21, 2021 04:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thecodemedia/f6e316875cce79e549206a75f9ea81e2 to your computer and use it in GitHub Desktop.
Save thecodemedia/f6e316875cce79e549206a75f9ea81e2 to your computer and use it in GitHub Desktop.
// настраиваем карточки
.card {
display: flex;
// делаем так, чтобы карточки растягивались ровно по колонкам
flex-direction: column;
// а вот главная команда — сделать так, чтобы всё содержимое карточки выровнялось одинаково с остальными карточками
justify-content: space-between;
background: lightpink;
padding: 1rem;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment