CSorz
  • 首页
  • 归档
  • 分类
  • 标签
  • 关于

无题

转换 document.getElementById(“exchangeBtn_20171124”).onclick = function(){ url2base64(document.getElementById(“input_20171124”).value) }; function convertImgToBase64(url, callback, outputFormat){
2017-11-24
uncategorized

读取本地图片转Base64

document.getElementById(“upload_file”).onchange = function () { gen_base64(); }; function $_(id) { return document.getElementById(id); } function gen_base64() { var file = $_(‘upload_file
2017-11-24
uncategorized

解决端口被占用

一.Windows平台 在windows命令行窗口下执行: 1.查看所有的端口占用情况 C:\>netstat -ano 协议 本地地址 外部地址 状态 PID TCP 127.0.0.1:1434 0.0.0.0:0 LISTENING 3236 TCP 127.0.0.1:5679 0.0.0.0:0 LISTENING 4168 TCP 127.0.0.1:7438 0.0.0.0:0
2017-11-20
uncategorized

磨砂效果(一)

.blur-box { width:200px; height:300px; overflow:hidden; } .blur { filter: url(blur.svg#blur); /* FireFox, Chrome, Opera */ -webkit-filter: blur(5px); /* Chrome, Opera */ -moz-filte
2017-11-14
uncategorized

WebRTC(一):通过WebRTC技术检测摄像头和麦克风

2017年10月,国内PC浏览器市场份额排行榜 Google的Chrome浏览器排名第一,其市场份额为45.49%; 微软的IE浏览器排名第二,其份额为20.72%;(其中,IE9的份额为8.20%,IE8的份额为7.95%,IE7的份额为2.74%,IE10的份额为1.83%) QQ浏览器排名第三,其份额为6.40%; 2345加速浏览器排名第四,其份额为5.41%; 搜狗高速浏览器排名第五,其
2017-11-13
uncategorized

parse-server和parse-dashboard

https://segmentfault.com/a/1190000010927322
2017-11-10
uncategorized

批量生成手机号

#list li { width: 7.5em;display: inline-block;} 开始 当前个数:// /^1[34578]\d{9}$/.test(nuM) var totalObj = document.getElementById(“total”); var inputObj = document.getElemen
2017-11-06
uncategorized

常用的文件模板

预览:点击预览 下载:个人收入证明模板 - 副本
2017-10-30
uncategorized

修改系统字体对webview的影响

页面html设置font-size值,会被放大。
2017-10-26
uncategorized

布局:高度和宽度都为百分比

Viewport units: vw, vh, vmin, vmax - CR Length units representing a percentage of the current viewport dimensions: width (vw), height (vh), the smaller of the two (vmin), or the larger of the two (vma
2017-10-18
uncategorized
1…2021222324…32

搜索

Hexo Fluid
总访问量 次 总访客数 人
鄂ICP备2024039931号 | police-icon 鄂公网安备42018502007378