Achieve cross-browser functionality with HTML5 and CSS3