Prev Demo
CSS3
>
Background-Attachment Property
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html> <head> <title>Demo</title> </head> <body> <style> body { background-image: url("/HTPictures/Generics/1-635724500240488175.gif"); background-repeat:no-repeat; background-attachment:fixed; background-position:initial; background-color:lightblue; } </style> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> <p>TechFunda.com</p> </body> </html>
Note: We DO NOT save your trial code in our database.
Output