brendalong / html-css-demo

The basics: HTML and CSS Demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTML and CSS - oh the places you will go

Start general and build up

  • Structure
  • Content
  • Styling
    • Start general and get more specific

Notes:

  • Everything outside a flex container and inside a flex item is rendered as usual.
  • The flex container is declared by setting the display property of an element to either flex (rendered as a block) or inline-flex (rendered as inline).
  • Lined up with the flex line.

More

  • Change the direction content flows
direction: rtl;
  • Change the direction of the flexible items inside the flex container
flex-direction: row;
flex-direction: row-reverse;
flex-direction: column
flex-direction: column-reverse 
  • justify-content property horizontally aligns the flexible container's items when the items do not use all available space on the main-axis.
-webkit-justify-content: flex-end;
justify-content: flex-end;

flex-start - Default value. Items are positioned at the beginning of the container
flex-end - Items are positioned at the end of the container
center - Items are positioned at the center of the container
space-between - Items are positioned with space between the lines
space-around - Items are positioned with space before, between, and after the lines

Resources

About

The basics: HTML and CSS Demo


Languages

Language:HTML 78.6%Language:CSS 21.4%