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

Overview

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

![](C:\Users\user\Desktop\Front end challenges\3-column-card-solution\screencapture-2021-06-12-18_03_30.png)

Links

My process

Built with

  • CSS custom properties
  • Flexbox
  • Media queries

What I learned

In this challenge, I how to make the website responsive using media queries.

 @media only screen and (min-width: 750px) {
        .box {
          flex-direction: row;
        }
        .card1 {
          border-radius: 10px 0px 0px 10px;
        }
        .card3 {
          border-radius: 0px 10px 10px 0px;
        }
} ;

Useful resources

Author