CSS

Last Updated: 10/18/2022

Overflow

  • Controls what happens to content that is too big to fit into an element.
  • Possible values are
    • visible
    • hidden
    • clip: The difference between clip and hidden is that the clip keyword also forbids all scrolling, including programmatic scrolling.
    • scroll
    • auto
div {
	width: 200px;
	height: 200px;
	overflow: auto;
}

Specify Horizontal axis and Vertical axis

div {
	width: 200px;
	height: 200px;
	overflow: hidden scroll; 
}