@motion-script/core / RelativeToParent
Type Alias: RelativeToParent
RelativeToParent =
"inherit"|ChildPositioning
Defined in: attributes/layout/positioning.ts:39
One child's override of its parent's ChildPositioning —
Node.relativeToParent.
'inherit'(default) — take the parent'schildPositioning.'relative'— be laid out by the parent even inside an absolute container.'absolute'— pin to the stage even inside a relative container.
A node with no parent is 'relative': there is nothing above it to be absolute
against.