Skip to content

fbtot/four-card-feature

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 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.

Overview

The challenge

Users should be able to:

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

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • SCSS

What I learned

You can match all the elements with a class that starts with a specific set of characters. For example, something like

    article[class*="card"] {
      margin-bottom: 0;
      padding: 2rem 2.3rem 2.1rem;
    }

will match only the articles with a class that starts with “card”.

Useful resources

Author

Releases

No releases published

Packages

No packages published