Hacker News new | ask | show | jobs
by Jimmed 3866 days ago
It's done via the 'z-index' CSS property [0]. Essentially, the higher the z-index, the higher the priority of the element; a higher z-index will appear in front of a lower z-index.

[0]: https://developer.mozilla.org/en/docs/Web/CSS/z-index