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
-
live site url: profile-card-component-main
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- bootstrap
` Hi everybody, welcome to my new solution 😊
At first look this project seemed to be easy but positioning the background bubbles responsively turned out to become a real chalenge.
In this project I read some more in depth about background and learned alot, specially about background position.
I used grid for implementing the card part which was enjoyable and so helpful. In the code below you can see the part I used for background positioning.
If you have any idea to improve my code or design it would be precious to me ,so please let me know`
body {
background: url(../images/bg-pattern-top.svg),
url(../images/bg-pattern-bottom.svg), var(--sm-bg-color);
background-repeat: no-repeat;
background-position: right 48vw bottom 40vh, left 45vw top 44vh;
}
- resource 1 - This helped me learn more in depth about background position.
- Frontend Mentor - @somaye-beiranvand