Press "Enter" to skip to content

Overflow Examples in CSS

Last updated on October 5, 2019

Definition :

   Which is meant for display more content in the webpage.

Program :

<html>

<head>

   <style type=”text/css”>

   div

   {

   width: 100px;

   height: 100px;

   background-color:cyan;

   border: 10px solid red;

   overflow: scroll;

   }

   </style>

   </head>

   <body>

   <div> HELLO </div>

   </body>

   </html>

Be First to Comment

    Leave a Reply

    Your email address will not be published. Required fields are marked *