Copyright © tutorialspoint.com
background-attachment determines the tiling context and scroll state of a background image.
All the HTML elements.
object.style.backgroundAttachment= scroll | fixed; |
<p style="background-image:url(/images/pattern1.gif); background-attachment:scroll;"> This parapgraph has scrolling background image. </p> |
To Become more comfortable - Do Online Practice
Copyright © tutorialspoint.com