-
touch時間流程查看全部
-
1、2、框架 3、庫查看全部
-
1、響應式布局,分辨率問題 2、移動端css3代替dom animation,不存在兼容性問題,gpu渲染高效查看全部
-
canvas 畫圖API查看全部
-
js渲染圖片代碼查看全部
-
優化技巧:使用Canvas代替Image標簽。原因: 1、圖片很大時,加載和滑動時顯得很卡; 2、canvas能利用物理GPU進行渲染; drawImage(image , x , y ,width, heihgt) 書籍《HTML5 Canvas》查看全部
-
移動端用touch事件代替click事件,原因: 1、click事件在移動端延時300ms 2、touch事件支持多點觸摸 3、手勢操作查看全部
-
var loadImg=function(id){ $('#large_container').css({ width:zWin.width(), height:zWin.height() }).show(); var imgsrc='img/'+id+'.large.jpg'; 我的問題是這里傳入的id找不到,報錯查看全部
-
1.animation-name 2.animation-duration 動畫持續時間 3.animation-delay 延遲執行時間 4.animation-timing-funtion 動畫形變函數指定查看全部
-
Image Object 預加載圖片;new Image().src= "xxx.jpg"; image對象可獲得固有的大??;查看全部
-
優化技巧:使用Canvas代替Image標簽:圖片很大時,加載和滑動時顯得很卡; canvas能夠利用物理GPU進行渲染; drawImage(image, x, y , width, height)查看全部
-
drawImage()是 canvas.getContext("2d");的方法 width和height是canvas的方法查看全部
-
html5 canvas查看全部
-
是用touch的好處查看全部
-
touch事件的相關內容查看全部
舉報
0/150
提交
取消