This is a solution to the Four card feature section challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout for the site depending on their device's screen size
- Solution URL: https://www.frontendmentor.io/solutions/fourcardfeaturesection-a-5miJj1s
- Live Site URL: https://four-card-feature-section-eta-steel.vercel.app/
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
Learnt how to add the box-shadow
property to an element. Essentially the first unit caters for the horizontal axis, the second for the vertical, the third for the blur, and the last value being the color of the shadow.
.card {
background-color: #ffffff;
padding: 1.2em;
margin-bottom: 2em;
border-radius: 0.4em;
box-shadow: 0em 0.5em 0.5em var(--clr-nue-gb);
}
}
- Kevin Powel's CSS box shadow tutorial - This helped me add the
box-shadow
feature to the 4 cards.
- LinkedIn - Quartey-Papafio Nii Laryea
- Frontend Mentor - @Pap-Ski