https://github.com/Djokaras/profile-card-component.git Frontend Mentor challenges help you improve your coding skills by building realistic projects.
- Build out the project to the designs provided
- Solution URL: https://www.frontendmentor.io/solutions/flexbox-Q9vD-8rPa/
- Live Site URL: https://djokaras.github.io/profile-card-component/
Started with mobile first approach. Had some trouble with background image positioning. Flexbox for card layout.
- HTML
- CSS flexbox
- Absolute positioning for profile picture
Learned how to position background image in the body. Had troubles untill I realised that body element had no height.
body {
background-position: right 45vw bottom 60vh, left 55vw top 30vh;
background-repeat: no-repeat;
background-color: hsl(185, 75%, 39%);
height: 100vh;
}
Should work more on HTML as I feel like here is overcomplicated.
https://www.youtube.com/watch?v=3T_Jy1CqH9k&t=508s&ab_channel=KevinPowell
- Website - Djordje Stevic