The position property can help you manipulate the location of an element, for example:

.element {
  position: relative;
  top: 20px;

Relative to its original position the element above will now be nudged down from the top by 20px. If …

Avatar of Chris Coyier
Chris Coyier on (Updated on )


The left property in CSS goes hand in hand with positioning. By default, elements are static positioned in which the left property has no effect whatsoever. But when the positioning of an element is relative, absolute, or …

Avatar of Sara Cope
Sara Cope on (Updated on )