Skip to content

yongabyte/flex-froggy-solns

Repository files navigation

flex-froggy-solns

Notes on flexbox from froggy

Justify-Content

l1 - l4

alighn-items

  • flex-start: Items align to the top of the container.
  • flex-end: Items align to the bottom of the container.
  • center: Items align at the vertical center of the container.
  • baseline: Items display at the baseline of the container.
  • stretch: Items are stretched to fit the container.

Flex Direction

  • row: Items are placed the same as the text direction.
  • row-reverse: Items are placed opposite to the text direction.
  • column: Items are placed top to bottom.
  • column-reverse: Items are placed bottom to top.

when you set the direction to a reversed row or column, start and end are also reversed.

Order

Unlike the properties that we have seen, order is applied to the individual items. If order has not been set, the default value is zero. < 0: move to the front;

0: move to the back;

align-self

Similar to align-items, but on a individual item.

flex-wrap

  • nowrap: squeezed all the items into a single line
  • wrap: allows items to be wrapped to additional lines
  • wrap-reverse: wrap but in reverse

flex-flow

Combining flex-direction and flex-wrap

align-content

  • determine spacing b/t lines
  • align-items: determine where the items location inside the container.

LV 24 Final Project

image

About

My flexbox froggy journey

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages