CSS Transition tune and added function isModernBrowser without realization