摘要: 1.border-radius属性:以rem,em为单位时,0.01rem/0.01em,在有的手机浏览器不会显示; 2.border-radius,最好不要给img添加; 阅读全文
posted @ 2016-05-23 11:08 fss_0214 阅读(2135) 评论(0) 推荐(0)
摘要: 页面返回按钮: 今天遇到一个bug,点击“立即结算”,跳转到支付页面,支付页面有了返回按钮,点击返回按钮使用了history.go(-1), 但是在safari浏览器发现再次点击“立即结算”,没有反应,于是就想到了history.go(-1)的兼容;最终结果如下: 阅读全文
posted @ 2016-05-21 17:02 fss_0214 阅读(621) 评论(0) 推荐(0)
摘要: 1. wap端打开pc端地址,强制跳转到wap地址 2. pc端打开wap端地址,强制跳转到pc端地址 阅读全文
posted @ 2016-05-21 16:53 fss_0214 阅读(331) 评论(0) 推荐(0)
摘要: 1.html 2.js 阅读全文
posted @ 2016-04-25 18:15 fss_0214 阅读(564) 评论(0) 推荐(0)
摘要: 1.html 2.css 3.js 阅读全文
posted @ 2016-04-25 17:37 fss_0214 阅读(422) 评论(0) 推荐(0)
摘要: 1. css 2.html 3.js 阅读全文
posted @ 2016-04-25 16:43 fss_0214 阅读(282) 评论(0) 推荐(0)
摘要: 1.js var timeID = 0, timeLeft = 3;function count() { timeLeft--; $('#second').text(timeLeft); if (timeLeft <= 0) { clearInterval(timeID); $('#second') 阅读全文
posted @ 2016-04-25 16:35 fss_0214 阅读(1885) 评论(0) 推荐(0)
摘要: 1. 首先,html页面要链接 2. 判断是否为微信里浏览器打开? 3. 使用以下js: 阅读全文
posted @ 2016-04-25 16:34 fss_0214 阅读(614) 评论(0) 推荐(0)
摘要: 1.html 2.js 阅读全文
posted @ 2016-04-25 16:32 fss_0214 阅读(1111) 评论(0) 推荐(0)
摘要: 1.html <div class="down-app"> <span id="dowm-close">x</span> <dl> <dt>logo</dt> <dd> <h3>某某公司</h3> <p>某某公司宗旨</p> </dd> </dl> <div class="down-app-main 阅读全文
posted @ 2016-04-25 16:30 fss_0214 阅读(174) 评论(0) 推荐(0)