This is a solution to the Profile card component challenge on Frontend Mentor.
- Build a profile card component as similar to the design shown as possible.
- Solution URL: https://www.frontendmentor.io/solutions/profile-card-component-using-css-grid-rl4BuTUmOE
- Live Site URL: https://monumental-faloodeh-df064f.netlify.app/
- Semantic HTML5 markup
- Acessible HTML5 markup
- CSS custom properties
- CSS grid layout
This challenge was a good way for me to start my learning and applications of CSS Grid Layout. During the process, I also learned more about backgrounds and overlaying elements.
This was the most satisfying code I wrote during the challenge because I was stuck trying to build the background. That's why I'm very proud of the following code:
body {
/* Background */
background-color: var(--dark-cyan);
background-image: url(./images/bg-pattern-top.svg), url(./images/bg-pattern-bottom.svg);
background-repeat: no-repeat, no-repeat;
background-size: 60%, 60%;
background-position: left -30% top -27rem, right -28% bottom -27rem;
}
For my next project, I will study and apply the following concepts:
- Flexbox
- Resposive Layout
- How to control background images - This helped me a lot to build the background.
- CSS Grid Tutorial - This helped me to understand the main css grid concepts and properties.
- How to overlap elements in CSS Grid - This helped me in the part where it was necessary to place an image on top of another between two css grid cells.
- Frontend Mentor - @thullyoufrn
- Linkedin - Thullyo Damasceno