Skip to content

tinalr/product-preview-card-component-main

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

Screenshots

Mobile Design Desktop Design

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS & SASS/SCSS custom properties
  • Flexbox
  • Mobile-first workflow

What I learned

  • HTML <picture> tag. Used to make the product image responsive; the image file changes with the size of the screen.
  • CSS letter-spacing property. Used to make the word "perfume" expanded.

Useful resources

Author

About

FrontendMentor.io Challenge Solution | Mobile-First Responsive Design

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published