Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <style> div { border: 8px dotted #ccc; padding: 25px; background: #ccc; background-clip: padding-box; } </style> </head> <body> <h2>Background property example</h2> <div> <p>The background-clip for this div element is set to padding-box.</p> </div> </body> </html>