स्थिति:निश्चित; संपत्ति आपको व्यूपोर्ट के सापेक्ष तत्व की स्थिति की अनुमति देती है। आप सीएसएस स्थिति को लागू करने के लिए निम्न कोड चलाने का प्रयास कर सकते हैं:निश्चित;
उदाहरण
<!DOCTYPE html>
<html>
<head>
<style>
div{
position: fixed;
bottom: 0;
right: 0;
width: 200px;
border: 3px solid blue;
}
</style>
</head>
<body>
<h2>position: fixed;</h2>
<p>The position: fixed; property allows you to position element relative to the viewport.</p>
<div>
div has position: fixed;
</div>
</body>
</html> आउटपुट
