Skip to content

ebenezerraph/product-preview-card-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Product preview card component solution

This is a solution to the Product 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 and focus states for interactive elements

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties

What I learned

I learned how to make the design responsive using Flexbox.

css:

@media screen and (max-width: 700px) {
    .flex-container {
        display: flex;
        flex-direction: column;
        width: 343px;
    }
}

Useful resources

Author

About

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Contributors