Skip to content

AK-CHP1/fm_product_preview_card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 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

This is a product preview page which I completed as a part of frontend mentor challanges.

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

Desktop

Mobile

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox

What I learned

  • How to correctly center an absolutely positioned element in it's containing block
  • Nested flexbox
  • proper use of object-fit CSS property.

Continued development

The layout is still not perfect for mobile layout and needs improvement.

Author

  • Name - Aayush Kumar
  • Frontend Mentor - @AK-CHP1

About

A frontend mentor project for product preview card

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published