ব্যাকগ্রাউন্ড-অ্যাটাচম্যান t বৈশিষ্ট্য ব্যাকগ্রাউন্ডে একটি চিত্রের স্ক্রলিং নিয়ন্ত্রণ করতে ব্যবহৃত হয়।
উদাহরণ
ব্যাকগ্রাউন্ড-অ্যাটাচম্যানের সাথে কিভাবে কাজ করতে হয় তা শিখতে আপনি নিম্নলিখিত কোডটি চালানোর চেষ্টা করতে পারেন t সম্পত্তি:
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-image: url('/css/images/css.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
}
</style>
</head>
<body>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
<p>The background-image is fixed. Try to scroll down the page.</p>
</body>
</html>