css transition to search