Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/melvinaguilar/profile-card-component
This is a solution to the "Profile Card Component" challenge on Frontend Mentor challenges.
https://github.com/melvinaguilar/profile-card-component
frontend frontend-mentor frontend-mentor-challenge frontend-mentor-challenges html html-css sass sass-files
Last synced: about 2 months ago
JSON representation
This is a solution to the "Profile Card Component" challenge on Frontend Mentor challenges.
- Host: GitHub
- URL: https://github.com/melvinaguilar/profile-card-component
- Owner: MelvinAguilar
- Created: 2022-09-28T16:38:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-15T04:55:48.000Z (about 2 years ago)
- Last Synced: 2023-03-06T08:48:52.309Z (almost 2 years ago)
- Topics: frontend, frontend-mentor, frontend-mentor-challenge, frontend-mentor-challenges, html, html-css, sass, sass-files
- Language: SCSS
- Homepage: https://profile-card-component-melvinaguilar.vercel.app/
- Size: 143 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frontend Mentor - Profile card component solution
![](./design/desktop-preview.jpg)
This is a solution to the [Profile card component challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/profile-card-component-cfArpWshJ). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Links
- Solution URL: [Profile Card Component (SASS + Flexbox) | Frontend Mentor](https://www.frontendmentor.io/solutions/profile-card-component-sass-flexbox-7cj7s_CvT0)
- Live Site URL: [https://profile-card-component-melvinaguilar.vercel.app/](https://profile-card-component-melvinaguilar.vercel.app/)
## Table of contents
- [Overview](#overview)
- [The challenge](#the-challenge)
- [My process](#my-process)
- [Built with](#built-with)
- [Author](#author)
- [Acknowledgments](#acknowledgments)## Overview
### The challenge
- Build out the project to the designs provided
## My process
### Built with
- Semantic HTML5 markup
- Flex Layout
- BEM naming convention
- [SASS](https://sass-lang.com/documentation/modules) - Sass modules### Useful resources
- [CSS Guidelines](https://cssguidelin.es/#bem-like-naming)
- [BEM naming convention](https://css-tricks.com/bem-101/)
- [BEM naming examples](https://getbem.com/naming/)- [Material Design Box Shadows](https://codepen.io/sdthornton/pen/wBZdXq)
- [CSS background Property](https://www.w3schools.com/cssref/css3_pr_background.asp)
- [CSS Multiple Backgrounds](https://www.w3schools.com/css/css3_backgrounds.asp)
- [How to place background image using ::before pseudo selectors](https://www.geeksforgeeks.org/how-to-place-background-image-using-before-pseudo-selectors-in-css/)- [Solving Sticky Hover States with @media (hover: hover)](https://css-tricks.com/solving-sticky-hover-states-with-media-hover-hover/)
## Author
- Frontend Mentor - [@melvinaguilar](https://www.frontendmentor.io/profile/melvinaguilar)
## Acknowledgments
When using `sass` in order to build this solution
- Install `sass` if not yet installed:
```bash
npm install -g sass
```- Run build command from command line:
```bash
sass assets/sass/main.scss assets/css/style.css
```- If you want to edit the code and test, in the root folder of this repository, run this command from the command line:
```bash
sass --watch assets/sass/main.scss assets/css/style.css
```## File structure
```
.
├── assets
│ ├── css
│ │ ├── style.css
│ │ └── style.css.map
│ ├── images
│ │ ├── bg-pattern-bottom.svg
│ │ ├── bg-pattern-card.svg
│ │ ├── bg-pattern-top.svg
│ │ ├── favicon-32x32.png
│ │ └── image-victor.jpg
│ └── sass
│ ├── abstracts
│ │ ├── _mixins.scss
│ │ └── _variables.scss
│ ├── base
│ │ ├── _page.scss
│ │ └── _reset.scss
│ ├── component
│ │ ├── _heading.scss
│ │ └── _screen-reader.scss
│ ├── layout
│ │ └── _profile-card.scss
│ └── main.scss
├── design
│ ├── desktop-design.jpg
│ ├── desktop-preview.jpg
│ └── mobile-design.jpg
├── index.html
└── README.md
```