2019年11月4日

强制换行

摘要: overflow-wrap: break-word; word-wrap:break-word;强制换行一般两个都写上,覆盖几乎所有浏览器 将两个单词当作一个单词用white-space:nowrap; 阅读全文

posted @ 2019-11-04 18:58 ShirleyJiang 阅读(177) 评论(0) 推荐(0) 编辑

动画 jquery-transit

摘要: <script type="text/javascript" src="js/jquery.min.js"></script> <script src="js/jquery-transit.js"></script> $("#yun1, #yun2, #yun3, #yun4").css({ opacity: 1, scale: 1, y:0,x:0 }); $("#yun1").delay(10 阅读全文

posted @ 2019-11-04 18:18 ShirleyJiang 阅读(104) 评论(0) 推荐(0) 编辑

图片预先加载 preloadjs

摘要: <body><div class="loading"> <div class="progress"></div></div><img src="images/bg0.png" style="display: none"/> <img src="images/btn.png" style="displ 阅读全文

posted @ 2019-11-04 18:17 ShirleyJiang 阅读(414) 评论(0) 推荐(0) 编辑

h5 点击ios键盘完成 出现键盘大小的白块

摘要: document.addEventListener('focusout', function (e) { window.scrollTo(0,0); }) 源文件链接 https://blog.csdn.net/qq_22266149/article/details/95479107 https:/ 阅读全文

posted @ 2019-11-04 18:12 ShirleyJiang 阅读(276) 评论(0) 推荐(0) 编辑

2019年9月20日

ol li 兼容

摘要: ol 标签在 chrome 60 和 safari12 缩进不一样。 因为序号距离copy距离不一样,导致显示不一样。解决办法。 list-style-position: inside;text-indent: -16px; margin-left: 33px; 阅读全文

posted @ 2019-09-20 10:29 ShirleyJiang 阅读(105) 评论(0) 推荐(0) 编辑

程序员常用的六大技术博客类

摘要: https://www.cnblogs.com/wangting888/p/7738007.html https://baijiahao.baidu.com/s?id=1593514678497832328&wfr=spider&for=pc 阅读全文

posted @ 2019-09-20 10:19 ShirleyJiang 阅读(143) 评论(0) 推荐(0) 编辑

导航