/* Static Example */
.static-example .positioned-element {
    background-color: green;
    left: 100px;
}

/* Relative Example */
.relative-example .positioned-element {
    background-color: lightblue;
    position: relative;
    left: 100px;
    top: 50px;
    z-index: -1;
}

/* Absolute Example */
.absolute-example {
    position: relative;
}

.absolute-example .positioned-element {
    background-color: red;
    position: absolute;
    top: 0;
    right: 0;
}

/* Fixed Example */
.fixed-example .positioned-element {
    background-color: purple;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

/* Sticky Example */
.sticky-example .positioned-element {
    background-color: orange;
    position: sticky;
    top: 50px;
}
