This is a solution to the QR code component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
I learnt some basic css and flexbox. I also learnt how to define custom color properties in the :root pseudo-class. This represents the root of the document which is the html element in HTML documents. I found out how to convert a drop shadow in the figma file to css.
If in Figma the drop shadow settings are X=10, Y=20, Blur=30, and the color is rgba(0, 0, 0, 0.5), the CSS would look like this:
box-shadow: 10px 20px 30px rgba(0, 0, 0, 0.5);
I'd like to learn more about layouts using flexbox and grid. I would also like to expand on custom properties and also
- Kevin Powell - Youtube - This Youtube channel helped me all aspects of css.
- Frontend Mentor - @lkeating26
Kevin Powell's youtube channel is such a good resource for learning all things css.
