[---h5+c3---]
文章平均质量分 78
午-夜
Only today!
展开
-
HTML5:视频控制
一:HTML5属性控制视频 <video src="img/test.mp4" width="300px" height="200px" loop="3" autoplay="autoplay" controls="controls"> 属性解读 属性 值 描述原创 2016-06-17 16:32:25 · 1371 阅读 · 0 评论 -
HTML5:音频控制
一:HTML5控制音频 常用属性: 属性 值 描述 autoplay autoplay 如果出现该属性,则音频在就绪后马上播放。 controls controls 如果出现该属性,则向用户显示控件,比如播放按钮。 loop loop原创 2016-06-22 13:05:16 · 2775 阅读 · 0 评论 -
Css3中边框的处理
Css3的边框属性 Css3的圆角边框 DOCTYPE html> html> head> style> div { text-align:center; border:2px solid #a1a1a1; padding:20px 50px; background:blue; width:350px; border-radius:25p原创 2016-07-28 22:55:35 · 924 阅读 · 0 评论 -
HTM5:拖放
一:单一拖放 #div1{width: 900px;height: 200px;padding: 10px;border: 1px solid #aaaaaa;} function allowDrop(ev) { ev.preventDefault(); } function drag(ev) { ev.dataTr原创 2016-06-23 15:26:40 · 2018 阅读 · 0 评论 -
Html5中Canvas绘图
Canvas绘图 Canvas的基本API 制作矩形 DOCTYPE html> html> head> meta charset="UTF-8"> title>Canvastitle> head> body> canvas width="500" height="300" style="border: 1px solid blue原创 2016-07-31 11:18:04 · 1660 阅读 · 0 评论