https://github.com/oppahero/recipe-page
Recipe page build with HTML and CSS
https://github.com/oppahero/recipe-page
css css-reset flexbox html media-queries
Last synced: about 1 month ago
JSON representation
Recipe page build with HTML and CSS
- Host: GitHub
- URL: https://github.com/oppahero/recipe-page
- Owner: oppahero
- Created: 2024-04-28T17:29:19.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-04-29T23:34:03.000Z (12 months ago)
- Last Synced: 2025-01-24T08:43:56.119Z (3 months ago)
- Topics: css, css-reset, flexbox, html, media-queries
- Language: HTML
- Homepage: https://oppahero.github.io/recipe-page/
- Size: 2.14 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Recipe page solution
This is my solution to the "Recipe page" challenge on Frontend Mentor.
## 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)
- [Continued development](#continued-development)
- [Useful resources](#useful-resources)
- [Author](#author)## Overview
### The challenge
In this practice the card must be able to adjust its size depending on the width of the device where it is viewed.
### Screenshot

### Links
- Solution URL: [Recipe page build with HTML and CSS]([https://github.com/oppahero/recipe-page](https://www.frontendmentor.io/solutions/recipe-page-build-with-html-and-css-C8KcQC1DNP))
- Live Site URL: [Site](https://oppahero.github.io/recipe-page/)## My process
### Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- @Font-face
- Modern CSS Reset (Piccadilli)### What I learned
Instead of changing the width of the card using media queries, it was allowed to scale its size freely, limiting its max-width at rem.
#### CSS Specificity Graph
### Continued development
Continue learning about:
- Accesibility
- Rem/ems units### Useful resources
- [The Surprising Truth About Pixels and Accessibility](https://www.joshwcomeau.com/css/surprising-truth-about-pixels-and-accessibility/) - I found this post that I think is quite interesting, it has examples.
- [Modern CSS Reset - Andy Bell](https://piccalil.li/blog/a-more-modern-css-reset/) - option to reset browser styles in modern web development
## Author
- Frontend Mentor - [@oppahero](https://www.frontendmentor.io/profile/oppahero)