摘要:
function is_weixn(){ var ua = navigator.userAgent.toLowerCase(); if(ua.match(/MicroMessenger/i)=="micromessenger") { return true; } else { return fals 阅读全文
摘要:
var arr=[1,2,3,4,5,6] arr.forEach(function(index,item){ // console.log(item) // console.log(index) }) /... 阅读全文
摘要:
display: inline-block; 阅读全文
摘要:
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 阅读全文
摘要:
(function (doc, win) { var docEl = doc.documentElement, resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize', recalc = function 阅读全文
摘要:
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 阅读全文
摘要:
一、CSS常见问题 1、H5标签兼容性 解决方案:<script src="http://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script> 2、元素浮动之后,能设置宽度的话就给元素加宽度,如果需要宽度是内容撑开的,就给它里边的块元 阅读全文
摘要:
在head里面加这个meta <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content=" 阅读全文
摘要:
以下案例,均可直接复制到html中,运行看结果,可直接修改应用 bshare分享 <!-- 单独按钮分享 --> <!-- 引用插分享插件 --><script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b 阅读全文