New! My 44-page ebook "CSS in 44 minutes" is out! 😃

Get it now →


Defines the position of the element according to its left edge.

default left: auto;

The element will remain in its natural position.

left: 80px;

If the element is in position relative, the element will move left by the amount defined by the left value.

left: -20px;

If the element is in position absolute, the element will position itself from the left of the first positioned ancestor.