Added proximity CSS from @cfarquharson.
Merge pull request #3493 from thomasgohard/css-proximity

Added proximity CSS from @cfarquharson