This is my solution to the "Recipe page" challenge on Frontend Mentor.
In this practice the card must be able to adjust its size depending on the width of the device where it is viewed.
- Solution URL: Recipe page build with HTML and CSS
- Live Site URL: Site
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- @Font-face
- Modern CSS Reset (Piccadilli)
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.
Continue learning about:
- Accesibility
- Rem/ems units
-
The Surprising Truth About Pixels and Accessibility - I found this post that I think is quite interesting, it has examples.
-
Modern CSS Reset - Andy Bell - option to reset browser styles in modern web development
- Frontend Mentor - @oppahero