<!DOCTYPE html>
<html lang="en">
<head>
<title>CSS Position</title>
<style>
* {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
padding: 0;
}
.anyPositinoElementMain {
width: 600px;
padding: 50px 25px 25px;
background: #0bf;
border: 5px solid #ccc;
margin: 50px auto;
color: #fff;
position: relative;
}
.positioinInnerElement {
width: 200px;
padding: 25px;
background: #eee;
border: 5px solid #ccc;
color: #333;
text-align: center;
position: absolute;
right: -50px;
top: -50px;
}
.positionFixed {
background: #0b6;
border: 2px solid #ccc;
padding: 5px;
border-radius: 5px;
text-align: center;
position: fixed;
bottom: 10px;
right: 20px;
}
.positionSticky {
background: #0b6;
border: 1px solid #ccc;
padding: 5px;
width: 100%;
display: block;
color: #fff;
position: -webkit-sticky;
position: sticky;
top: 0px;
}
</style>
</head>
<body>
<div class="anyPositinoElementMain">
<div class="positioinInnerElement">Position absolute property</div>
On the Insert tab, the galleries include items that are designed to coordinate with the overall look of your document. You
can use these galleries to insert tables, headers, footers, lists, cover pages, and other document building blocks. <br><br>When
you create pictures, charts, or diagrams, they also coordinate with your current document look. You can easily change
the formatting of selected text in the document text by choosing a look for the selected text from the Quick Styles gallery
on the Home tab. You can also format text directly by using the other controls on the Home tab. Most controls offer a
choice of using the look from the current theme or using a format that you specify directly. <br><br>To change the overall
look of your document, choose new Theme elements on the Page Layout tab. To change the looks available in the Quick Style
gallery, use the Change Current Quick Style Set command. Both the Themes gallery and the Quick Styles gallery provide
reset commands so that you can always restore the look of your document to the original contained in your current template.
On the Insert tab, the galleries include items that are designed to coordinate with the overall look of your document.
You can use these galleries to insert tables, headers, footers, lists, cover pages, and other document building blocks.
<br><br>
<div class="positionSticky">I am the CSS Position sticky.</div>
<div class="positionFixed">CSS Position fixed</div>
When you create pictures, charts, or diagrams, they also coordinate with your current document look. You can easily change
the formatting of selected text in the document text by choosing a look for the selected text from the Quick Styles gallery
on the Home tab. You can also format text directly by using the other controls on the Home tab. Most controls offer a
choice of using the look from the current theme or using a format that you specify directly. <br><br>To change the
overall look of your document, choose new Theme elements on the Page Layout tab. To change the looks available in the
Quick Style gallery, use the Change Current Quick Style Set command. Both the Themes gallery and the Quick Styles gallery
provide reset commands so that you can always restore the look of your document to the original contained in your current
template. On the Insert tab, the galleries include items that are designed to coordinate with the overall look of your
document. You can use these galleries to insert tables, headers, footers, lists, cover pages, and other document building
blocks. <br><br>When you create pictures, charts, or diagrams, they also coordinate with your current document look.
You can easily change the formatting of selected text in the document text by choosing a look for the selected text from
the Quick Styles gallery on the Home tab. You can also format text directly by using the other controls on the Home tab.
Most controls offer a choice of using the look from the current theme or using a format that you specify directly. <br><br>To
change the overall look of your document, choose new Theme elements on the Page Layout tab. To change the looks available
in the Quick Style gallery, use the Change Current Quick Style Set command. Both the Themes gallery and the Quick Styles
gallery provide reset commands so that you can always restore the look of your document to the original contained in
your current template. When you create pictures, charts, or diagrams, they also coordinate with your current document
look. You can easily change the formatting of selected text in the document text by choosing a look for the selected
text from the Quick Styles gallery on the Home tab. You can also format text directly by using the other controls on
the Home tab. Most controls offer a choice of using the look from the current theme or using a format that you specify
directly. <br><br>To change the overall look of your document, choose new Theme elements on the Page Layout tab. To change
the looks available in the Quick Style gallery, use the Change Current Quick Style Set command. Both the Themes gallery
and the Quick Styles gallery provide reset commands so that you can always restore the look of your document to the original
contained in your current template. On the Insert tab, the galleries include items that are designed to coordinate with
the overall look of your document. You can use these galleries to insert tables, headers, footers, lists, cover pages,
and other document building blocks. <br><br>When you create pictures, charts, or diagrams, they also coordinate with
your current document look. You can easily change the formatting of selected text in the document text by choosing a
look for the selected text from the Quick Styles gallery on the Home tab. You can also format text directly by using
the other controls on the Home tab. Most controls offer a choice of using the look from the current theme or using a
format that you specify directly. <br><br>To change the overall look of your document, choose new Theme elements on the
Page Layout tab. To change the looks available in the Quick Style gallery, use the Change Current Quick Style Set command.
Both the Themes gallery and the Quick Styles gallery provide reset commands so that you can always restore the look of
your document to the original contained in your current template.
</div><br><br>
<a href="https://anything-learn.blogspot.com/2018/10/css-position.html" style="color:#333; bottom:5px; left:0; right:0; margin:auto; text-align:center; font-family:arial; font-size:11px" target="_blank"><b>Refrence Link:</b> https://anything-learn.blogspot.com/2018/10/css-position.html</a>
</body>
</html>