CSS: display

  • The display property of elements controls how they fit into the page
  • It also controls how an element's children are positioned
  • More natural and flexible than position
  • Outer and inner display modes exist
  • Outer display modes control where element goes in parent
  • Inner display modes control where children go

4 / 26