Editor
Download
Open
Auto Run
<!DOCTYPE html> <html> <head> <title>CSS ::before Selector</title> <style> p.image::before{ content: "Before word - "; color: #FF0000; } </style> </head> <body> <p class="image">This example for ::before pseudo element</p> </body> </html>
Preview