2019年11月4日

title 有背景边框自适应 mobile

摘要: 固定宽度,固定高度,来写背景的高度。这样就能居中。 阅读全文

posted @ 2019-11-04 19:31 ShirleyJiang 阅读(145) 评论(0) 推荐(0) 编辑

让image像背景图片一样,居中对齐,网页自适应

摘要: <div class="page4_content"> <div class="page4_box"> <div class="page_bg_16"> <img src="fuka.jpg"> </div> </div></div> .page4_content{width:100%; heigh 阅读全文

posted @ 2019-11-04 19:27 ShirleyJiang 阅读(938) 评论(0) 推荐(0) 编辑

rem em min-width: 30em 的意思

摘要: 30em=30rem=30x16px=480px @media only screen and (min-width:30 em){ } 阅读全文

posted @ 2019-11-04 19:03 ShirleyJiang 阅读(384) 评论(0) 推荐(0) 编辑

强制换行

摘要: 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) 编辑

导航