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.
Note: Delete this note and update the table of contents based on what sections you keep.
- Build out the project to the designs provided
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- BEM
The use of the BEM methodology, which consists of Block - Element - Modified. Block is the component itself. Element is the smallest element that makes up the block. It is a modifier which is used to change the appearance or behavior of the block. This methodology proves to be very useful for organizing projects and reusing components.
<!-- Block -->
<section class="content">
<!-- Block__Element -->
<p class="content__description">
<!-- Block__Element-Modifier -->
<p class="content__description-highlight">
</section>
Maybe by CSS.
- Documentation BEM - This helped me a little with the functioning of the BEM methodology.
- CSS-Tricks - This is an amazing article that finally helps me understand how the background-position property, which I used to position the background images, works.
- Github - gbmatheus
- Frontend Mentor - @gbmatheus