tryit_yourcode See Results <!DOCTYPE html> <html> <head> <style> div { position: relative; left: 20px; top: 10px; border: 2px solid #ff5722; } </style> </head> <body> <h2>CSS Relative Position</h2> <p>An element with position: relative is positioned relatively with the other elements which are sitting at top of it.</p> <div> This div element has relative position. </div> </body> </html>