Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Der Titel des Dokuments</title> <style> p::after { content: " - William Shakespeare."; background-color: #eee; color: #1c87c9; padding:5px 3px; border: 2px dashed #000; margin-left:5px; } </style> </head> <body> <h2>::after selector example</h2> <p>"Sein oder Nichtsein"</p> </body> </html>