2015年12月11日
摘要: 转自: http://note.rpsh.net/posts/2015/08/27/mobile-web-html-css-faq/问题:iframe 在 iOS 上没有滚动条,直接撑出去解决:给 iframe 外嵌套一个 div, 为这个 div 设置固定高度与overflow div{he... 阅读全文
posted @ 2015-12-11 09:10 圆儿圈圈 阅读(803) 评论(0) 推荐(0) 编辑
  2015年11月30日
摘要: .icon { background-image: url(example.png); background-size: 200px 300px; height: 300px; width: 200px;}@media only screen and (-Webkit-min-device-... 阅读全文
posted @ 2015-11-30 10:11 圆儿圈圈 阅读(291) 评论(0) 推荐(0) 编辑
  2015年9月9日
摘要: 1 阅读全文
posted @ 2015-09-09 09:37 圆儿圈圈 阅读(110) 评论(0) 推荐(0) 编辑
  2015年8月9日
摘要: .to-animate{ will-change:transform,opacity } 阅读全文
posted @ 2015-08-09 15:02 圆儿圈圈 阅读(97) 评论(0) 推荐(0) 编辑
  2015年8月6日
摘要: userAgent = navigator.userAgent.toLowerCase();isAndroid = (userAgent.indexOf("Android") > -1 ||userAgent.indexOf("android") > -1);isiPad = userAgent.i... 阅读全文
posted @ 2015-08-06 09:34 圆儿圈圈 阅读(86) 评论(0) 推荐(0) 编辑
  2015年5月21日
摘要: $(document).on('tap','#list li',function(e){ $("h2.title").find("b").html($(this).find("b").html()); $("h2.title").find("span").html($(this).att... 阅读全文
posted @ 2015-05-21 10:30 圆儿圈圈 阅读(204) 评论(0) 推荐(0) 编辑
  2015年5月8日
摘要: http://tgideas.qq.com/act/a20150428report/index.html?ADTAG=tgi.wx.relay&from=timeline&isappinstalled=0 阅读全文
posted @ 2015-05-08 09:54 圆儿圈圈 阅读(112) 评论(0) 推荐(0) 编辑
  2015年5月4日
摘要: .errorCon { position: absolute; left: 0; width: 100%; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%);}div{ width: 90... 阅读全文
posted @ 2015-05-04 09:41 圆儿圈圈 阅读(104) 评论(0) 推荐(0) 编辑
  2015年3月18日
摘要: 转自http://segmentfault.com/blog/trigkit4/1190000002559158跨浏览器事件跨浏览器添加事件//跨浏览器添加事件 function addEvent(obj,type,fn){ if(obj.addEventListener){ ... 阅读全文
posted @ 2015-03-18 10:12 圆儿圈圈 阅读(155) 评论(0) 推荐(0) 编辑
  2015年1月28日
摘要: 转自:https://github.com/jtyjty99999/mobileTech1. viewport:也就是可视区域。对于桌面浏览器,我们都很清楚viewport是什么,就是出去了所有工具栏、状态栏、滚动条等等之后用于看网页的区域,这是真正有效的区域。由于移动设备屏幕宽度不同于传统web,... 阅读全文
posted @ 2015-01-28 17:37 圆儿圈圈 阅读(219) 评论(0) 推荐(0) 编辑