会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
\面朝阳光/
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
下一页
2017年10月12日
如何判断页面是在移动端还是PC端打开的呢
摘要: function is_weixn(){ var ua = navigator.userAgent.toLowerCase(); if(ua.match(/MicroMessenger/i)=="micromessenger") { return true; } else { return fals
阅读全文
posted @ 2017-10-12 10:43 \面朝阳光/
阅读(2892)
评论(0)
推荐(0)
2017年10月11日
数组的常用方法
摘要: var arr=[1,2,3,4,5,6] arr.forEach(function(index,item){ // console.log(item) // console.log(index) }) /...
阅读全文
posted @ 2017-10-11 10:12 \面朝阳光/
阅读(150)
评论(0)
推荐(0)
2017年9月29日
vue 选项卡
摘要: display: inline-block;
阅读全文
posted @ 2017-09-29 15:51 \面朝阳光/
阅读(357)
评论(0)
推荐(0)
rem2
摘要: html{font-size:50px;}body{font-size:24px;}@media screen and (min-width:320px){ html{font-size:21.333333333333332px;} body{font-size:12px;}}@media scre
阅读全文
posted @ 2017-09-29 11:26 \面朝阳光/
阅读(144)
评论(0)
推荐(0)
移动端响应式rem
摘要: (function (doc, win) { var docEl = doc.documentElement, resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize', recalc = function
阅读全文
posted @ 2017-09-29 11:25 \面朝阳光/
阅读(121)
评论(0)
推荐(0)
2017年9月27日
好的博客地址
摘要: http://www.cnblogs.com/YYvam1288/p/5123272.html 好的vue开源项目地址 http://www.cnblogs.com/opendigg/p/6513510.html http://www.cnblogs.com/diasa-fly/archive/20
阅读全文
posted @ 2017-09-27 09:40 \面朝阳光/
阅读(114)
评论(0)
推荐(0)
IE浏览器兼容性问题解决方案
摘要: 一、CSS常见问题 1、H5标签兼容性 解决方案:<script src="http://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script> 2、元素浮动之后,能设置宽度的话就给元素加宽度,如果需要宽度是内容撑开的,就给它里边的块元
阅读全文
posted @ 2017-09-27 09:38 \面朝阳光/
阅读(905)
评论(0)
推荐(1)
2017年9月26日
系统按钮返回,一般都从缓存里直接取,现在想让他返回时重新加载
摘要: 在head里面加这个meta <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="
阅读全文
posted @ 2017-09-26 15:24 \面朝阳光/
阅读(187)
评论(0)
推荐(0)
添加分享
摘要: 以下案例,均可直接复制到html中,运行看结果,可直接修改应用 bshare分享 <!-- 单独按钮分享 --> <!-- 引用插分享插件 --><script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b
阅读全文
posted @ 2017-09-26 15:17 \面朝阳光/
阅读(197)
评论(0)
推荐(0)
2017年9月25日
模板常用模板
摘要: 模块一 模块二 模块三 模块四
阅读全文
posted @ 2017-09-25 09:00 \面朝阳光/
阅读(181)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
下一页
公告