Positioning in CSS

When I give an element a left: 10%; is that 10% of its total size or of its parent size?

When you give an element left: 10%; it will be 10% of it’s parent element.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.