Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Example of CSS top property</title> <style> p { width: 200px; position: absolute; top: 150px; padding: 20px; font: bold 18px sans-serif; background: #9acd32; } </style> </head> <body> <p>Play with the top property value to see how it works.</p> </body> </html>