Skip to content

erelropeta/3-column-preview-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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

Note: Delete this note and update the table of contents based on what sections you keep.

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

Links

My process

Built with

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

What I learned

This was easier compare to the first few ones I did. I can't believe I just needed two lines of Grid CSS to make it responsive for 1024px and above width.

.column-container {
  width: 920px;
  height: 500px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

Continued development

I want to do more challenges with Grid CSS in the future. I want to be really good at it so I can make layouts more responsive.

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published