会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
琥珀君的博客
技术点亮生命,产品温暖人心,探讨CODING真谛,感悟工匠精神。 Q1217356608
首页
新随笔
联系
管理
上一页
1
···
16
17
18
19
20
21
22
23
24
···
34
下一页
2020年10月29日
H50065:manifest 缓存本地文件
摘要: 1,html代码 <!doctype html> <html> <head> <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scal
阅读全文
posted @ 2020-10-29 16:28 琥珀君
阅读(108)
评论(0)
推荐(0)
2020年10月28日
H50064:设置layer弹窗层背景透明
摘要: 1,定义layer背景样式 /* 设置layer背景透明 */ .shadows{background-color: transparent !important;box-shadow: 0 0 0 rgba(0,0,0,0) !important;} 2,layer中使用 function sen
阅读全文
posted @ 2020-10-28 22:51 琥珀君
阅读(2474)
评论(0)
推荐(0)
2020年10月14日
H50063:noscript 标签 当浏览器不支持js时处理 table居中
摘要: 1, <!-- 当浏览器不知js时的提示 --> <noscript><table style="width:100%;height:100%;"><tr style="vertical-align:middle;"><td><div style="text-align:center;">ERROR
阅读全文
posted @ 2020-10-14 16:32 琥珀君
阅读(110)
评论(0)
推荐(0)
2020年9月29日
H50062:meta 定义浏览器的渲染方式
摘要: 1, <meta name="renderer" content="webkit" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
阅读全文
posted @ 2020-09-29 16:58 琥珀君
阅读(101)
评论(0)
推荐(0)
2020年9月22日
PHPJN0004:PHP文件上传被安全狗拦截处理
摘要: 1,在 网址安全狗 -- 防护日志 -- 将拦截内容 添加到白名单 。 2,
阅读全文
posted @ 2020-09-22 22:44 琥珀君
阅读(218)
评论(0)
推荐(0)
2020年9月20日
APP0006- 提示弹窗
摘要: 1, // 提示弹窗 wx.showToast({ title: '验证码', icon: 'success', duration: 2000 });
阅读全文
posted @ 2020-09-20 11:53 琥珀君
阅读(104)
评论(0)
推荐(0)
2020年9月19日
MySQL0002:命令行操作数据库常用命令
摘要: 1, 命令行操作数据库: 登录 C:\Users\Administrator>d: D:\>cd D:\wamp\mysql\bin D:\wamp\mysql\bin>mysql mysql -hlocalhost -uroot -p 设置 set names gbk; show database
阅读全文
posted @ 2020-09-19 15:14 琥珀君
阅读(137)
评论(0)
推荐(0)
2020年9月18日
APP0005- data属性的定义
摘要: 1,用return的方式
阅读全文
posted @ 2020-09-18 15:40 琥珀君
阅读(114)
评论(0)
推荐(0)
2020年9月17日
CSS0018: 字体超长自动隐藏
摘要: 1, .card-slogen { font-size: .24rem; color: #777; display: block; margin-left: .2rem; /* 隐藏超长字体 */ overflow: hidden; white-space: nowrap; text-overflo
阅读全文
posted @ 2020-09-17 14:42 琥珀君
阅读(157)
评论(0)
推荐(0)
JS_0041:JS加载JS文件 异步同步加载js文件 同步加载js文件 顺序加载js文件 等待请求数据后,再加载后面的js文件
摘要: 1, <script> // 动态加载JS文件 function loadJS( url, callback ){ var script = document.createElement('script'),fn = callback || function(){}; script.type = '
阅读全文
posted @ 2020-09-17 11:50 琥珀君
阅读(448)
评论(0)
推荐(0)
2020年9月14日
JS_0040:JS加载远程html片段 html片段包含html css js 代码
该文被密码保护。
阅读全文
posted @ 2020-09-14 17:22 琥珀君
阅读(0)
评论(0)
推荐(0)
2020年9月13日
CSS0017: DIV 上下左右都居中样式
摘要: 1, .container { box-sizing: border-box; max-width: 1024px; padding: 20px; text-align: center; }
阅读全文
posted @ 2020-09-13 12:47 琥珀君
阅读(159)
评论(0)
推荐(0)
CSS0016: 多个DIV并排均匀分布 box-sizing
摘要: 1, <!DOCTYPE html> <html> <head> <style> div.container { width:30em; border:1em solid; } div.box { box-sizing:border-box; -moz-box-sizing:border-box;
阅读全文
posted @ 2020-09-13 12:42 琥珀君
阅读(846)
评论(0)
推荐(0)
WebGL_0017:大屏多点触控 多人同步操作 hammer.js
该文被密码保护。
阅读全文
posted @ 2020-09-13 11:01 琥珀君
阅读(0)
评论(0)
推荐(0)
2020年9月12日
H50061:html 中引入外部 html 片段
摘要: 1,只能同域加载 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0,
阅读全文
posted @ 2020-09-12 12:51 琥珀君
阅读(411)
评论(0)
推荐(0)
JS_0039:div上禁止右击事件
摘要: 1, this.domElement.addEventListener( 'contextmenu', function ( event ) { event.preventDefault(); }, false );
阅读全文
posted @ 2020-09-12 10:42 琥珀君
阅读(722)
评论(0)
推荐(0)
2020年9月5日
PHPJN0003:PHP随机生成 数字组合 获取 get post 的数据 echo print_r
摘要: 1, //随机生成8位数字 function nonceStr() { static $seed = array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9); $str = ''; for ($i = 0; $i < 6; $i++) { $rand = rand(0, count(
阅读全文
posted @ 2020-09-05 18:24 琥珀君
阅读(127)
评论(0)
推荐(0)
MySQL0001:数据库CMD常用操作, 数据添加 查询操作
摘要: 1, // 数据库操作 /* mysql -hlocalhost -uroot -p set names gbk; show databases; CREATE DATABASE IF NOT EXISTS `oupai` CHARSET utf8; USE oupai; show tables;
阅读全文
posted @ 2020-09-05 18:18 琥珀君
阅读(505)
评论(0)
推荐(0)
H50060:html 禁止长按选中文字
摘要: 1, 解决方案: 直接在CSS 文件中添加下面的代码,就可以实现了在手机端禁止粘贴复制的功能: *{ -webkit-touch-callout:none; /*系统默认菜单被禁用*/ -webkit-user-select:none; /*webkit浏览器*/ -khtml-user-selec
阅读全文
posted @ 2020-09-05 17:50 琥珀君
阅读(723)
评论(0)
推荐(0)
2020年8月27日
JS_0038:判断手机电脑,安卓苹果,微信
该文被密码保护。
阅读全文
posted @ 2020-08-27 12:31 琥珀君
阅读(0)
评论(0)
推荐(0)
上一页
1
···
16
17
18
19
20
21
22
23
24
···
34
下一页