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.
Note: Delete this note and update the table of contents based on what sections you keep.
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- Sass - For styles
I learned that using and positioning background images are a lot more flexible than I thought
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
background-color: var(--clr-dark-cyan);
background-image: $--pattern-top, $--pattern-bottom;
background-position: $--position-top, $--position-bottom;
background-repeat: no-repeat;
}
- LinkedIn - Rafael Takano
- Frontend Mentor - @rafaeltakano
I used the Vanza Setia code to align the background images.