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

This was a great challenge that I really enjoyed completing.

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

ScreenShot

Links

My process

When I saw the challenge, I knew that I was going to use Flexbox. I structured my HTML with three different sections for the three columns, then I added the images and text. Next, I moved on to the styling, where I decided to use "rem" instead of "pixels".

Built with

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

What I learned

During this challenge, I learned to use relative units instead of absolute units.

Continued development

Moving forward I want to work more with active states, Grid, and transitions.

Author