theBullWhoCodes / week0803

Use the CSS float property to create a column layout with four cards inside.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Columns of cards

  • Approx. completion time: 1 hour
  • Deliverables: 1 HTML file, 1 CSS file, images

Use the CSS float property to create a column layout with four cards inside.

  • Fork this repository.
  • Write the HTML & CSS needed to create the four column layout.
  • Text can be found inside the content.txt file.
  • Run it through Markbot and make sure it passes all the checks.

Details

  • Typefaces: Open Sans
  • Text sizes: 2rem, 0.875rem
  • Colours: #f2f2f2, #333, #e2e2e2, #ccc, #aaa, #999

The button is .btn & .btn-small from our buttons exercise.


Goal

Visually match the images in the “screenshots” folder and create the interaction shown in the linked video.


Hand in

Drop this folder into your Markbot application. Make sure to fix all the errors. And submit to Canvas using Markbot.



Optional challenges

These challenges are here if you’d like to try a little more work—they are for extra experience and learning. They are completely optional and not graded. Show them to me if you’d like—I’d love to see them.

  1. Figure out how to use flexbox and complete the layout using display: flex instead of float
  2. Using flexbox, make the buttons align along the bottom.

About

Use the CSS float property to create a column layout with four cards inside.


Languages

Language:HTML 58.0%Language:CSS 42.0%