This is a solution to the Profile card component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
- Build out the project to the designs provided
- Solution URL: Frontend Mentor
- Live Site URL: GitHub Page
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
I learned how to place several images in the background property.
body {
background: url(images/bg-pattern-top.svg) no-repeat scroll -50rem -37rem, url(images/bg-pattern-bottom.svg) no-repeat scroll 10rem 12rem;
background-color: hsl(185, 75%, 39%);
}
@media (min-width: 37.5em) {
body {
background: url(images/bg-pattern-top.svg) no-repeat scroll -17rem -35rem, url(images/bg-pattern-bottom.svg) no-repeat scroll 44rem 20rem;
background-color: hsl(185, 75%, 39%);
}
}
- Be more comfortable combining several values when using super properties such as background.
- background - MDN Web Docs - Helped to understand how to combine various values in the background property.
- background-position - MDN Web Docs - Helped with the different syntaxes of the background-position property.
- Website - Ax-coding
- Frontend Mentor - @Ax-cd
- Instagram - @ax.coding