![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
H5
十一T_T
这个作者很懒,什么都没留下…
展开
-
H5 新特性
1. 新增表单类型: email(电子邮件地址输入框) 代码示例: <input type=“email” /> 输入内容中必须包含@,并且@后需要有内容 url(网址输入框) 代码示例: <input type="url" /> 输入的网址要加上协议前缀;如http://、https:// 等 number(数值输入框) 代码示例: <inpu...原创 2018-08-20 13:52:47 · 303 阅读 · 0 评论 -
HTML5离线存储原理及实现
使用 HTML5,通过创建 cache manifest 文件,可以轻松地创建 web 应用的离线版本。 HTML5引入了应用程序缓存,这意味着 web 应用可进行缓存,并可在没有因特网连接时进行访问。 应用程序缓存为应用带来三个优势: 离线浏览 – 用户可在应用离线时使用它们 速度 – 已缓存资源加载得更快 减少服务器负载 – 浏览器将只从服务器下载更新过或更改过的资源。 原理和环境 上...转载 2018-09-04 23:26:20 · 3324 阅读 · 0 评论 -
jq制作扑克牌图片切换 --
扑克图片切换: //点击图片和顶层图片交换位置 $(function () { $(".pic").click(function () { $(".pic[title]").stop(true,true); $(this).stop(true,true); let left1 = $(this).o...原创 2018-11-15 23:18:08 · 824 阅读 · 0 评论 -
canvas --- 下雨效果
<canvas id ="canvas"></canvas> *{ margin:0; padding:0; } #canvas{ position:absolute; height:100%; width:100%; } window.onload = main; function main() { var canvasEl = documen...原创 2019-04-18 20:44:30 · 229 阅读 · 0 评论