there are multiple ways to achieve this one is with grid,
the other which is simpler is making your parent component relative (position: relative) and the children component absolute (position: absolute).
Then you can position the children element with the values: *top, left, bottom and right
.parent {
position: relative;
}
.children {
position: absolute;
top: 0;
left: 0;
}
In the example above, the children will be rendered in the top left corner of the parent component
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…