Welcome ðŸŽ‰

logo

ReactLMS

Search
Light Mode
Contact Us

2 min to read

Contact us

No results for your search.
Sorry, an unexpected error occurred

Concept


Overflow in CSS is a property used to determine how to handle content when it does not fit the size of the container. It includes the following properties:


Usage


Example

HTML

<div class='result'>
  <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus doloremque necessitatibus consequatur iusto id, vero animi mollitia adipisci inventore et! Ab neque modi corporis qui ea numquam, autem veritatis voluptates!</p>
</div>







CSS

.result {
  position : relative;
  height: 100px;
  background: lightcoral !important;
  font-size: 20px;
  overflow: scroll;
}







Result

Lorem ipsum dolor sit amet consectetur adipisicing elit. Possimus doloremque necessitatibus consequatur iusto id, vero animi mollitia adipisci inventore et! Ab neque modi corporis qui ea numquam, autem veritatis voluptates!




Read more
On This Page