Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <style> h1, p, div { padding: 10px; } h1 { border-right: 7px solid #8ebf42; } p { border-right: 5px dotted #1c87c9; } div { border-right: thick double #666; } </style> </head> <body> <h1>A heading with a solid green right border</h1> <p>A heading with a dotted blue right border.</p> <div>A div element with a thick double right border.</div> </body> </html>