Learning Plan 3: CSS Layout

Overview of Learning Plan 3

  • Define layouts.
  • Examine margin properties.
  • Examine padding properties.
  • Examine height/width properties.
  • Examine box model properties.
  • Examine outline properties.
  • Examine display properties.
  • Examine max-width properties.
  • Examine overflow properties.
  • Examine float properties.
  • Examine inline-block properties.
  • Examine align properties.
  • Examine CSS position properties.
  • Examine multi-column properties.
  • Examine user interface properties.
  • Examine box-sizing properties.
  • Define CSS3 Flexbox.
  • Explore CSS3 Flexbox.
  • Examine pseudo-classes properties.
  • Examine pseudo-element properties.
  • Examine CSS navigation bars.
  • Examine dropdown item properties.
  • Examine styling attributes.

A Sample Flexbox Layout

sample flexbox layout

Description

This is a simple responsive flexbox layout with a header, main area, two asides, and a footer.

Sample Flexbox Layout

Reflection Statement

I previously knew how to code a flexbox layout. I learned how to use different properties for a flexbox layout. I still need to learn other ways to code a flexbox layout.

Flexbox Tutorial Practice

flexbox tutorial

Description

In this tutorial, I made a responsive website using flexbox. The website contains a header and footer navigation, a main section, and a sidebar.

Flexbox Tutorial

Reflection Statement

I have previously used Flexbox to design websites. I prefer using flexbox over floats and positioning. I learned how to use flex-wrap, flex-basis, flex-grow, and flex-shrink. I still need to learn how to use flex basis in other projects.

CSS Grid Layouts Project

CSS grid layout

Description

This project was a site redesign using CSS grid.

CSS Grid Layout

Reflection Statement

I had no previous knowledge of how to code a grid template. I learned how to code a grid layout with a logo, header, navigation, main content, aside, sponsors section, and footer. I also learned how to use column, rows, and grid-template-areas. I still need to learn more grid layout properties.

Basic Layouts Conversion to a Flexbox Layout

Flexbox Conversion

Description

I took my sample basic CSS layout and converted it to a flexbox layout.

Basic CSS Layout

Flexbox Conversion

Reflection Statement

I have experience replicating floats and positioning layouts to flexbox. I learned how to convert an existing website to flexbox. I still need to learn how to complete a more in depth conversion.

Flexbox Conversion to a CSS Grid Layout

Flexbox to Grid Conversion

Description

I took my flexbox tutorial and converted it into a grid layout.

Flexbox Layout

Flexbox to Grid Conversion

Reflection Statement

I previously learned a little about grid. I have never coded a grid layout before. I learned how to create a layout using grid and how to convert a flexbox layout into a grid layout. I still have to learn how to use the grid properties and I need practice coding layouts using grid.