optimized css reset and transition