Report Bug

QusWhich of the following property is used to control the scrolling of an image in the background? Qusपेज के बैकग्राउंड में किसी पिक्चर की स्क्रॉलिंग को नियंत्रित करने के लिए निम्नलिखित में से किस प्रॉपर्टी का उपयोग किया जाता है?


A. background-attachment
B. background
C. background-repeat
D. background-position


Solution
A. background-attachment



Explanation

The CSS property used to control the scrolling of an image in the background is background-attachment. This property can take one of the following values:

  • scroll: The background image scrolls along with the containing element's content.
  • fixed: The background image remains fixed as the user scrolls, creating a parallax effect.
Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad