Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style> .example { position: absolute; left: 20%; top: 20%; width: 100px; height: 100px; background-color: #ccc; color: #666; } </style> </head> <body> <h2>Left property example</h2> <div class="example">left: 20%</div> </body> </html>