Frontend Mentor - 3-column preview card component solution

This is a solution to the 3-column preview card component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

The challenge

Users should be able to:

  • View the optimal layout depending on their device's screen size
  • See hover states for interactive elements

Screenshot

Desktop Preview _C__Users_joshu_Documents_vscode%20files_3%20column%20preview%20card_index html (2)

Mobile Preview

_C__Users_joshu_Documents_vscode%20files_3%20column%20preview%20card_index html

Links

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow

What I learned

This particular challenge broadened my knowledge more on the use of flexbox, border and padding. Media Queries also were a major focus in this challenge.

@media screen and (max-width: 375px) { .container{ display: flex; flex-direction: column; width: 280px; margin:7% 10% 0 10%; } }

Continued development

  • Flex
  • Media Queries
  • padding

Author

Acknowledgments

All thanks to me though