Skip to content

Paulo-Emerencio/profile-card-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Profile card component solution

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.

Table of contents

Overview

The challenge

  • Build out the project to the designs provided

Screenshots

mobile screenshot preview of my solution

desktop screenshot preview of my solution

Links

My process

Built with

  • Semantic HTML5 markup
  • Scss
  • Flexbox
  • Mobile-first workflow

What I learned

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

Continued development

I think it's time for me to learn some javascript library. (Note: I already learned vanilla javascript)

Useful resources

Author

Acknowledgments

Once again Kevin Powell helped me a lot, the best css teacher out there!