/css-cards

Responsive cards using HTML and CSS

Primary LanguageHTML

CSS Cards

Table of contents

Project Description

Responsive CSS cards using HTML and CSS

Screenshot

css cards

Links

What I learned

I learned flex wrap makes the cards responsive without using media queries.

.cards-container {
  font-size: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin: 1.25rem;
}

My Process

Built with

  • Semantic HTML5 Markup
  • Custom properties (variables)
  • Flexbox
  • CSS Grid
  • Mobile-first workflow

Useful Resources

Scale on hover with transition

Author

Acknowledgments

I took inspiration from this Responsive card UI with flexbox and hover effects Youtube video.