It's because you're setting the .spinner itself to position: absolute.

You need to use display: inline-block because you're expecting them to maintain their own width and height. display: inline elements have no direct control over their width and height, so the elements do nothing.