overflow hidden code example

Example 1: div scrollable content

div{
	overflow : scroll;
}

Example 2: bootstrap overflow hidden

<div class="overflow-auto">...</div>
<div class="overflow-hidden">...</div>

Example 3: css no overflow

div.ex1 {
  overflow: scroll;
}

div.ex2 {
  overflow: hidden;
}

div.ex3 {
  overflow: auto;
}

div.ex4 {
  overflow: visible;
}

Example 4: overflow hidden

overflow: hidden;

Example 5: overflow css

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

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