![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
H5
您的昵称已被注册
这时候,一个很菜的前端码农走了过去.....
展开
-
input type="file" 多视频上传并且进行预览
直接上代码了,,简单粗暴点。首先大家需要知道,accept 属性只能与<input type="file">配合使用。它规定能够通过文件上传进行提交的文件类型。如果不限制视频的格式,可以写为:accept="video/*"html代码<input type="file" id="file" name="file" onchange="videoPreview(this...原创 2019-12-09 15:31:01 · 3475 阅读 · 0 评论 -
input type="file" 多图片上传并且进行预览
直接上代码了,,简单粗暴点。首先大家需要知道,accept 属性只能与<input type="file">配合使用。它规定能够通过文件上传进行提交的文件类型。如果不限制图像的格式,可以写为:accept="image/*"html代码<input type="file" id="file" name="file" accept="image/* οnchange="i...原创 2019-12-09 15:14:56 · 1205 阅读 · 0 评论 -
H5页面上按钮在移动端点击后出现黑色背影闪烁的问题解决方式
开发的H5页面 在移动端测试的时候,点击按钮会出现黑色阴影边框闪烁的情况,解决方法为在被点击的元素上加上下面的css就可以了。-webkit-tap-highlight-color:transparent;...原创 2019-04-19 10:17:23 · 640 阅读 · 0 评论