স্থির অবস্থানের সাথে, উপাদানগুলি উপরে, নীচে, বাম এবং ডান বৈশিষ্ট্য দ্বারা প্রভাবিত হয় না। এর জন্য, অবস্থান:স্ট্যাটিক ব্যবহার করুন
উদাহরণ
আসুন এখন একটি উদাহরণ দেখি -
<!DOCTYPE html>
<html>
<head>
<style>
div.static {
position: static;
color: white;
background-color: orange;
border: 2px dashed blue;
}
</style>
</head>
<body>
<h2>Demo Heading</h2>
<p>This is demo text.</p>
<p>This is demo text.</p>
<div class="static">
position: static;
</div>
<p>This is another demo text.</p>
</body>
</html> আউটপুট
