A little code simplification.
Add warning about native position: sticky; and display: inline-block;

Fix the demo.