what is overflow in css code example

Example 1: div scrollable content

div{
	overflow : scroll;
}

Example 2: css no overflow

div.ex1 {
  overflow: scroll;
}

div.ex2 {
  overflow: hidden;
}

div.ex3 {
  overflow: auto;
}

div.ex4 {
  overflow: visible;
}

Example 3: overflow hidden

overflow: hidden;

Example 4: overflow css

/* To solver overflow issue in IE,
always use properties separately,
do not use short hand */

div {
  overflow-x: hidden;
  overflow-y: auto;
}

Example 5: What is a overflow property

/*
Overflow Property in CSS Controls the overflow of one element over another
*/

// If we didn't want it to overflow we can just do this

selector {
	overflow: hidden;
}