11 2021 档案

摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2021-11-22 14:57 启豪 阅读(458) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Clock</title> </head> <body style="backgrou 阅读全文
posted @ 2021-11-22 14:54 启豪 阅读(54) 评论(0) 推荐(0) 编辑
摘要:ps:放大镜的功能 记得下载本文最后的图片然后修改相应的文件路径!! <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> <style> * { margin: 0; padding: 0; } 阅读全文
posted @ 2021-11-22 14:51 启豪 阅读(112) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>HTML龙</title> <style type="text/css"> html,body{ margin: 0; padding: 0; background: #333; 阅读全文
posted @ 2021-11-22 14:47 启豪 阅读(242) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <title>不知道是什么</title> <style> #canvas { width: 500px; height: 500px; border: 1px solid red; position: relative 阅读全文
posted @ 2021-11-22 14:41 启豪 阅读(78) 评论(0) 推荐(0) 编辑
摘要:const canvas = document.querySelector('#canvas') // 画布 const canvas_centent = canvas.getBoundingClientRect()//获取画布的大小 使用这个方法可以获取到画布的属性,使用如下: //获取画布的长和 阅读全文
posted @ 2021-11-22 14:40 启豪 阅读(1620) 评论(0) 推荐(0) 编辑
摘要:#text { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: 阅读全文
posted @ 2021-11-19 17:40 启豪 阅读(79) 评论(0) 推荐(0) 编辑
摘要:安装vue-clipboard2 npm install --save vue-clipboard2 在main.js中引入它 import VueClipboard from 'vue-clipboard2' Vue.use(VueClipboard) 参考代码 <p>{{message}}</p 阅读全文
posted @ 2021-11-19 17:02 启豪 阅读(261) 评论(0) 推荐(0) 编辑
摘要://判断是否微信登陆 function isWeiXin() { var ua = window.navigator.userAgent.toLowerCase(); console.log(ua);//mozilla/5.0 (iphone; cpu iphone os 9_1 like mac 阅读全文
posted @ 2021-11-19 15:11 启豪 阅读(286) 评论(0) 推荐(0) 编辑
摘要:我发现选中的时候呀,有个家伙选中的样式不太一样,我giao ,怎么回事,这不是要出大事,我赶紧去百度。发现了病根。 ::selection { color:red; } 使用上面的这个家伙就可以做到选中的时候样式的调整。真好,我感觉我有加了一点经验,我只差三万点经验就要升级了!!! 阅读全文
posted @ 2021-11-19 14:53 启豪 阅读(35) 评论(0) 推荐(0) 编辑
摘要:<el-input placeholder="0" size="small" v-model="query" oninput="value=value.replace(/[^\d]/g,'')" ></el-input> 加入正则来限制输入 阅读全文
posted @ 2021-11-11 09:53 启豪 阅读(677) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示