<html>
<head>
</head>
<body>

<div class="first_section">This div element has no CSS position property.
  <div class="fixed">This div element has a CSS position property like "position: fixed;" </div>
</div>

</body>
</html>
div.first_section {
    width: 100%;
    height: 800px;
  padding:20px;
    border: 6px solid #2980b9;
    background:#3498db;
} 

div.fixed {
    position: fixed;
    top: 30px;
    right: 0;
    width: 200px;
    height: 100px;
    padding:20px;
    border: 6px solid #e67e22;
    background:#f39c12;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.