In this code , each box is absolutely positioned in relation to its parent div.
The elements that has a fixed height and width is absolutely positioned while the element's which doesn't have a specific height and width using the box-set property it displays the element with a height spanning the entire specified size.
Position : Fixed :-
The element with the position as fixed is positioned relative to the view port.
A fixed element does not leave any gap in the page where it would have been normally located.
Below is the code for the element with the fixed position :-