# CSS Positioning (static to sticky)

> Explain the different CSS position values. How does z-index work?

Canonical: https://www.internhack.in/learn/interview/html-css-interview/css-positioning
Last updated: 2026-11-28

Difficulty: Beginner

## Question

Explain the different CSS position values. How does z-index work?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

Position, Static, Relative, Absolute, Fixed, Sticky, Z-Index

Previous: [CSS Specificity Deep Dive](https://www.internhack.in/learn/interview/html-css-interview/css-specificity) · Next: [CSS Float & Clear](https://www.internhack.in/learn/interview/html-css-interview/css-float-clear) · [All of HTML & CSS Interview](https://www.internhack.in/learn/interview/html-css-interview)

## More HTML & CSS Interview questions

- [Flexbox Deep Dive](https://www.internhack.in/learn/interview/html-css-interview/css-flexbox)
- [CSS Grid Deep Dive](https://www.internhack.in/learn/interview/html-css-interview/css-grid)
- [CSS Transitions](https://www.internhack.in/learn/interview/html-css-interview/css-transitions)
- [CSS Animations & Keyframes](https://www.internhack.in/learn/interview/html-css-interview/css-animations)
- [CSS Transform & 3D](https://www.internhack.in/learn/interview/html-css-interview/css-transform)
- [Pseudo-Classes & Pseudo-Elements](https://www.internhack.in/learn/interview/html-css-interview/css-pseudo)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [HTML & CSS Interview](https://www.internhack.in/learn/interview/html-css-interview)
