CSS didn't work as expected