webpackJsonp([0xbf30adac2895],{519:function(e,o){e.exports={pathContext:{frontmatter:{path:"/docs/absolute-relative-layout",title:"Absolute/Relative Layout",hasPlayground:!0,initialPlayground:null,redirect:null},html:'
The position type
of an element defines how it is\npositioned within its parent.
RELATIVE (DEFAULT) By default an element is positioned\nrelatively. This means an element is positioned according to the\nnormal flow of the layout, and then offset relative to that position\nbased on the values of top
, right
, bottom
, and left
.\nThe offset does not affect the position of any sibling or parent elements.
ABSOLUTE When positioned absolutely an element doesn\'t take\npart in the normal layout flow. It is instead laid out independent\nof its siblings. The position is determined based on the\ntop
, right
, bottom
, and left
values.
The position values top
, right
, bottom
, and left
behave\ndifferently depending on the position type
of the element. For\na relative
element they offset the position of the element in the\ndirection specified. For absolute
element though these properties\nspecify the offset of the element\'s side from the same side on the parent.