Click and hold any blue item to drag it. Hover over the green bit of each item when dragging to see the selection (red background) happen. This green bit is the :after element.

Z-indexing issues may become apparent, which is why all<ul>s are given position: relative;