Skip to content

Jakeyikapp/3ColumnPreviewCard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 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

Screen Shot 2021-08-21 at 4 23 28 PM

Links

My process

Built with

  • Semantic HTML5 markup
  • Flexbox

What I learned

I have gained a better understanding of flexbox. One piece of CSS that blew my mind was that you can set the margin-top of an element to auto and it shifts it down (or right depending on the flex direction). This was very helpful for the learn more button that's included in this code. I also found that setting the html/body to min-height: 100vh(or 100%) vs just height helps with the code not chopping at the top when the height shrinks.

Note: Delete this note and the content within this section and replace with your own learnings.

Continued development

I will now be using the min-height property for the html/body going forward. I will also continue to use and develope my knowledge in flexbox. I believe I will continue with this and also get more practice using Grid.

Useful resources

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published