Skip to content

Pap-Ski/FEM_four-card-feature-section

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Four card feature section solution

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.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for the site depending on their device's screen size

Final Work

Final Work

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox

What I learned

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);
}
}

Useful resources

Author