How does auto positioning work In CSS