![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
css3
lyqhn2012
知识在于分享,共同学习,共同进步!
展开
-
移动web全局通用CSS
* { margin: 0; padding: 0;}body,html { height: 100%; /* 不显示默认的高亮颜色 */ -webkit-tap-highlight-color: transparent}html { -ms-text-size-adjust: 100%; -webkit-text-size-adjust:原创 2017-05-22 11:15:58 · 495 阅读 · 0 评论 -
Canvas验证码
效果展示源码仅供参考this.cas = document.getElementById('codeCanvas')let ctx = this.cas.getContext('2d')let cwidth = this.cas.clientWidthlet cheight = this.cas.clientHeight// 清空canvasctx.clearRect(0, 0, cwid原创 2017-12-22 18:14:42 · 326 阅读 · 0 评论