first css transitions for search