Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/almerleoalmazan/product-preview-card-component
Product preview card component
https://github.com/almerleoalmazan/product-preview-card-component
Last synced: about 1 month ago
JSON representation
Product preview card component
- Host: GitHub
- URL: https://github.com/almerleoalmazan/product-preview-card-component
- Owner: almerleoalmazan
- Created: 2023-12-10T12:30:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-19T12:16:33.000Z (about 1 year ago)
- Last Synced: 2024-11-14T03:15:52.021Z (3 months ago)
- Language: CSS
- Size: 362 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frontend Mentor - Product preview card component solution
This is a solution to the [Product preview card component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/product-preview-card-component-GO7UmttRfa). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
## Table of contents
- [Overview](#overview)
- [The challenge](#the-challenge)
- [Screenshot](#screenshot)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Useful resources](#useful-resources)
- [Author](#author)## 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
![Mobile](./screenshots/first.png)
### Links
- Solution URL: [https://github.com/almerleoalmazan/product-preview-card-component](https://github.com/almerleoalmazan/product-preview-card-component)
- Live Site URL: [https://aa-product-preview-card-component.netlify.app/](https://aa-product-preview-card-component.netlify.app/)## My process
### Built with
- CSS custom properties
- Flexbox
- Mobile-first workflow### What I learned
I learned how to conditionally select image in different views (mobile and desktop).
### Useful resources
- [Josh Comeau - CSS Reset](https://courses.joshwcomeau.com/css-for-js/treasure-trove/010-global-styles)
- [CSS Ordering Properties](https://css-tricks.com/poll-results-how-do-you-order-your-css-properties/) - This is an amazing article which helped me to organize my css properties.## Author
- Frontend Mentor - [@almerleoalmazan](https://www.frontendmentor.io/profile/almerleoalmazan)