Overflow:-
The CSS overflow property is a controls the what happens to content that is too big to fit into in area.
The overflow property some values:-
<style>
div {
  background-color: #eee;
  width: 200px;
  height: 50px;
  border: 1px dotted black;
  overflow: visible;
}
</style>
<h2>Code family</h2>
<p>Code family</p>
<div><li>we are code family</li>
<li>we are code family</li>
<li>we are code family</li>
<li>we are code family</li>
<li>we are code family</li>
</div> 
<style>
div {
  background-color: #eee;
  width: 200px;
  height: 50px;
  border: 1px dotted black;
  overflow: hidden;
}
</style>
<h2>Code family</h2>
<p>Code family</p>
<p>Code family</p>
<div><li>Code family</li>
<li>Code family</li>
<li>Code family</li>
<li>Code family</li>
<li>Code family</li>
</div> 
<style>
div {
  background-color: #eee;
  width: 200px;
  height: 100px;
  border: 1px dotted black;
  overflow: scroll;
}
</style>
<h2>Code family</h2>
<p>Code family</p>
<div><li>Code family</li>
<li>Code family</li>
<li>Code family</li>
<li>Code family</li>
<li>Code family</li>
<li>Code family</li>
<li>Code family</li>
<li>Code family</li>
<li>Code family</li>
</div> 
<style>
div {
  background-color: #eee;
  width: 200px;
  height: 50px;
  border: 1px dotted black;
  overflow: auto;
}
</style>
<h2>Code family</h2>
<p>Code family.</p>
<div><li>Code family</li>
<li>Code family</li>
<li>Code family</li>
<li>Code family</li>
<li>Code family</li>
<li>Code family</li></div> 
<style>
div {
  background-color: #eee;
  width: 200px;
  height: 50px;
  border: 1px dotted black;
  overflow-x: hidden;
  overflow-y: scroll;
}
</style>
<h2>CSS Overflow Code family</h2>
<p>Code family</p>
<p>overflow-x:Code family<br>
overflow-y :Code family</p>
<div><li>Code fmaily</li>
<li>Code family</li>
<li>Code family</li>
<li>Code family</li>
<li>Code family</li>
<li>Code family</li>
<li>Code family</li>
<li>Code family</li>
<li>Code family</li>
</div>