Negative values are allowed. display: block; This is the reason why in the previous example, the sticky item didn't stick in the first place: The sticky item was the only child element in a sticky container. I assume you all know CSS Positions, but let’s have a brief review: Up until 3 years ago, there were four CSS Positions: static, relative, absolute and fixed. Solution with the CSS text-align property¶ It is also possible to align the