This is a solution to the Four card feature section challenge on Frontend Mentor.
Users should be able to:
- View the optimal layout for the site depending on their device's screen size
- Solution URL: FrontEnd Mentor: My Solution
- Live Site URL: GitHub Page: 4 Card Feature Section
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- Working on this project helped me understand how mobile-first workflow is easier than desktop-first.
- I also used overflow: hidden property today for the first time and I didn't know of it before so yay.
- I also used the ::before pseudoselector for the first time for the top "border":
.box::before {
content: "";
height: 0.25rem;
width: 100%;
position: absolute;
top: 0;
left: 0;
background-color: black;
}
I want to continue using mobile-first workflow and really get it down right.
- Website - Anosha Ahmed
- Frontend Mentor - @anoshaahmed
- Twitter - @anosha1ahmed