<!DOCTYPE html>
<html>
<head>
<title>CSS bottom property</title>
<style>
div {
font-family: sans-serif;
font-size: 20px;
}
.contain {
border: 10px solid #000;
position: relative;
}
div.one, div.two {
background-color: grey;
border: 2px solid red;
}
div.one {
bottom: 10%;
position: absolute;
}
div.two {
bottom: 0;
position: absolute;
}
</style>
</head>
<body>
<h1><code><b>10% bottom</b></code></h1>
<div class="contain">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 class="one">This element absolutely positioned.</div>
</div>
<br />
<h1><code><b>0 bottom</b></code></h1>
<div class="contain">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 class="two">This element absolutely positioned.</div>
</div>
</body>
</html>