Skip to content

Djokaras/profile-card-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Profile card component solution

https://github.com/Djokaras/profile-card-component.git Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

  • Build out the project to the designs provided

Screenshot

Links

My process

Started with mobile first approach. Had some trouble with background image positioning. Flexbox for card layout.

Built with

  • HTML
  • CSS flexbox
  • Absolute positioning for profile picture

What I learned

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;
}

Continued development

Should work more on HTML as I feel like here is overcomplicated.

Useful resources

https://www.youtube.com/watch?v=3T_Jy1CqH9k&t=508s&ab_channel=KevinPowell

Author

About

This is a solution to the [Profile card component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/profile-card-component-cfArpWshJ).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published