Editor Arrow Download Open
<!DOCTYPE html> <html> <head> <title>CSS overflow property</title> <style> div { height: 150px; width: 300px; border: 1px solid #000; font-size: 17px; font-family: sans-serif; } div.one { overflow: auto; } div.two { overflow: hidden; } div.three { overflow: scroll; } div.four { overflow: visible; } </style> </head> <body> <h1><code>overflow: auto;</code></h1> <div class="one">Nature, in the broadest sense, is the natural, physical, or material world or universe. "Nature" can refer to the phenomena of the physical world, and also to life in general. The study of nature is a large, if not the only, part of science. Although humans are part of nature, human activity is often understood as a separate category from other natural phenomena.</div> <h1><code>overflow: hidden;</code></h1> <div class="two">Nature, in the broadest sense, is the natural, physical, or material world or universe. "Nature" can refer to the phenomena of the physical world, and also to life in general. The study of nature is a large, if not the only, part of science. Although humans are part of nature, human activity is often understood as a separate category from other natural phenomena.</div> <h1><code>overflow: scroll;</code></h1> <div class="three">Nature, in the broadest sense, is the natural, physical, or material world or universe. "Nature" can refer to the phenomena of the physical world, and also to life in general. The study of nature is a large, if not the only, part of science. Although humans are part of nature, human activity is often understood as a separate category from other natural phenomena.</div> <h1><code>overflow: visible;</code></h1> <div class="four">Nature, in the broadest sense, is the natural, physical, or material world or universe. "Nature" can refer to the phenomena of the physical world, and also to life in general. The study of nature is a large, if not the only, part of science. Although humans are part of nature, human activity is often understood as a separate category from other natural phenomena.</div> </body> </html>
  Preview Arrow