Change CSS transitions to use  rather than  for consistency