CSS position Property
Position a <h2> element:
Definition and Usage
The position property determines the sort of situating strategy utilized for an component (static, relative, supreme or fixed).
The numbers in the table determine the main program form that completely bolsters the property.
|static||Default esteem. Components render all together, as they show up in the record flow|
|absolute||The component is situated with respect to its originally situated (not static) predecessor element|
|fixed||The component is situated in respect to the program window|
|relative||The component is situated in respect to its ordinary position, so "left:20px" adds 20 pixels to the component's LEFT position|
|initial||Sets this property to its default esteem.|
|inherit||Inherits this property from its parent component.|
How to position a component with respect to its typical position:
left: - 20px;