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: Click to see my solution working!
- Live Site URL: I don't have a site yet, so here is my youtube channel
- Semantic HTML5 markup
- Scss
- Flexbox
- Mobile-first workflow
I was forced to learn all I could about css background property, to be able of positioning the two balls correctly in the background.
main {
@include flex-center;
min-height: 100vh;
background-color: $primary-color;
background-image:
url("../images/bg-pattern-top.svg"),
url("../images/bg-pattern-bottom.svg");
background-size: 100vh;
background-position:
bottom 50vh right 50vw, top 50vh left 50vw;
background-repeat: no-repeat;
@include responsive(min-width, 740px) {
background-size: auto;
background-position:
bottom 37vh right 51vw, top 50vh left 49vw;
}
}
I think it's time for me to learn some javascript library. (Note: I already learned vanilla javascript)
- Controlling background-images | CSS Tutorial - This video helped me manipulate the css background property.
- Frontend Mentor - @Paulo-Emerencio
- Digital Innovation One - @p_emerencio
Once again Kevin Powell helped me a lot, the best css teacher out there!