The CSS position property is at the core of understanding how CSS lets you create layouts. There were three property values that were part of the original spec. Then in CSS 2.1 position: fixed was added and in CSS3 position: sticky was added.
This tutorial covers the first four properties in depth. The last property has a video all to itself.
Code GIST: gist.github.com/prof3ssorSt3v...
CSS Position sticky video: • CSS position sticky
25 авг 2018