Skip to content

AntonioHouTX/3-column-preview-card-component-main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 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

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

Desktop Version

Tablet Version (Top & Bottom)

Mobile Version (Top & Bottom)

Links

My process

Built with

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

What I learned

In the beginning as I was working on this project, I was still a bit forgetful regarding the margins and padding of this project and how to get the final website to look just "right". As shown in the code snippet below, I continued to tweak the various properties in CSS of the parent container and the child containers until I was satisfied with what was created.

.main {
    flex-direction: row;
    max-width: 75rem;
    height: 36rem;
    margin: 7rem;
    padding: 0rem 5rem;
  }

Continued development

My continued development in CSS will focus on the box model and how the margins and padding interact with each other in a container element.

Useful resources

  • The W3 Reference Guide (CSS) - As always, the "go-to" resource for all things CSS related. This proved invaluable in developing this project.

Author

Acknowledgments

As always, I'd like to thank the team at Slack for providing me with valuable feedback and encouragement on this project. I would also like to especially thank Drull for his time and patience in assisting me with this project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published