![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
工作中的bug
发现一个小明
这个作者很懒,什么都没留下…
展开
-
a标签使用前格式化
???a { outline: none; color: inherit;}a:link { text-decoration: none; color: inherit;}a:visited { text-decoration: none; color: inherit;}a:hover { text-decorat...原创 2018-03-23 10:02:07 · 1142 阅读 · 0 评论 -
清除浮动
.clearfix { *zoom: 1;}.clearfix:before,.clearfix:after { display: table; line-height: 0; content: "";}.clearfix:after { clear: both;}原创 2018-03-23 10:03:35 · 85 阅读 · 0 评论 -
设置ie8 支持css3 background-size
-ms-behavior: url('backgroundsize.min.htc') \0;backgroundsize.min.htc下载地址原创 2018-03-23 10:32:55 · 343 阅读 · 0 评论 -
使用jq实现fixed定位随滚动条,左右滚动
var navLeft;$(window).scroll(function(){ navLeft = -$(window).scrollLeft(); $(".navLine").css("left", navLeft);})原创 2018-03-23 10:40:01 · 1737 阅读 · 0 评论 -
safari js时间NaN
safari/ie的new Date()参数格式只识别含有/的格式,即:YYYY/MM/DD原创 2018-03-23 10:47:27 · 855 阅读 · 0 评论 -
分享微信和qq
/** obj格式 var obj = { appId: '', timestamp: '', nonceStr: '', signature: '', infor: { title: '', desc: '', link: '', ...原创 2018-03-23 11:23:25 · 220 阅读 · 0 评论 -
vue {{}}和框架冲突
delimiters: ['[[', ']]']//个人喜欢替换为[[]]原创 2018-03-23 16:04:31 · 2645 阅读 · 1 评论 -
js判断是否是移动端
‘ontouchstart’ in document原创 2018-03-23 16:14:41 · 292 阅读 · 0 评论 -
electron中使用jq
jq代码引入后if (typeof module === 'object') { window.jQuery = window.$ = module.exports;};原创 2018-03-23 16:16:25 · 557 阅读 · 0 评论