FEWDRemote

Lecture 7: Grids Practice

-

It’s practicing time, fam

practice

-

Learning Objectives

  1. Practice using grids

-

Agenda

  1. Review Final Project Specs
  2. Review Flexbox
  3. Practice
  4. Moar Practice

Final Project Specs

Specs here


Review Flexbox

πŸ‘‡πŸ‘‡πŸ‘‡

-

The flex layout is a series of CSS properties that allows the container element to alter the dimensions of its children elements. A flex container will expand items to fill available space if there is any and shrink them to avoid overflow.

-

Consider the following image

img

source

-

Basic Example

-

Flex basis, width, grow, shrink

-

justify-content/align-items

NOTE: there is an align-self that can be applied to individual items in flex container

-

More info:


Practice

πŸ‘‡πŸ‘‡πŸ‘‡

-

  1. Simple Flex: Practice
  2. Simple Flex 2: Practice
  3. Simple Flex 3: Practice
  4. Simple Flex 4: Practice

-

Basic Layouts

NOTE: you will likely have to add some of your own CSS styles here as well to achieve the gray boxes and min-heights.

-

Simple Layout

-

Three Column Layout

-

Simple Marketing

-

Marketing with Nav

-

Magazine

-

Layouts

  1. NYT

  2. Huffpost

  3. Washington Post


Moar Practice

πŸ‘‡πŸ‘‡πŸ‘‡

-

Please use this repo as a starting point. Each layout can be its own webpage.

-

1

-

2

-

3

-

4

-

5

-

6


HOMEWORK

Due: Tuesday March 27th, midnight

Assignment