2012-03-12 54 views

回答

2

檢出http://www.modernizr.comhttp://yepnopejs.com/它們可以幫助您檢測對css3功能和html5功能的瀏覽器支持。

還檢查了html5boilerplate

Modinizr將添加類的html標記,例如,如果用戶沒有啓用javascript沒有JS將被添加,所以你可以使用。沒有-JS中的類你的樣式表。

<html class="js flexbox canvas canvastext webgl no-touch geolocation postmessage websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths" lang="en"> 
+0

感謝response..i瞭解鍋爐板,近代化和initialiser..problem是我已經,我想轉換爲HTML5儘可能多的網站...但笏是我的代碼已經過時CSS或HTML是我想知道的... – thecodejack 2012-03-12 12:40:16

相關問題