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