Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Заголовок документа</title> <style> p::before { content: "William Shakespeare-"; background-color: #ccc; color: #666; border: 2px dotted #000; } </style> </head> <body> <h2>Пример селектора ::before</h2> <p>"Be or not to be".</p> </body> </html>