4 ms·
CSS position: sticky
- rallison 13y agoI welcome this. The current way of setting an element to position: fixed with javascript after scrolling to a certain point is ugly and prone to issues. This is more elegant and also opens up some even more interesting use cases.