ositon

CSS Position

CSS Position

Introduction to CSS Position

The `position` property defines the positioning method of an element, such as relative, absolute, fixed, or sticky.

Common Position Values

Example


div {
    position: absolute;
    top: 20px;
    left: 30px;
}
        

Browser Support

Supported by all major browsers.