Skip to content

code-differently/css-flex-cards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

css-flex-cards

CSS Flexbox Card Layout

Fork this repository to your own account to access these starter files.

Part 1

  • Use the provided starter file to style the card-styles.css file.
  • Use the .cards section to display: flex
    • In a full-screen layout, show 3 columns. Use flex to move the next article to the following row.
    • In a tablet layout, show 2 columns, and display just 1 card on phone ratios.

Part 2

  • Use calc() function to subtract a few rems when defining the space between cards
  • Add a subtle shadow effect behind individual cards on hover.

Flexbox Full Card Layout Flexbox Tablet Card Layout Flexbox Mobile Card Layout

About

CSS Flexbox Card Layout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published