1. Dependency of  “position property” for top, bottom, left, and right properties: 

Elements are then positioned using the top, bottom, left, and right properties. However, these properties will not work unless the position property is set first. They also work differently depending on the position value.

Please find a codepen link for example. Try to comment position property in class “.container__inner” and top property will not work

 

Advertisements