10 2019 档案

swiper轮播箭头垂直居中
摘要:取消懒加载 for (var i in $('.p01-s9 .lazyload')) { $('.p01-s9 .lazyload').eq(i).attr('src',$('.p01-s9 .lazyload').eq(i).attr('data-src')); } $('.p01-s9 .la 阅读全文

posted @ 2019-10-15 18:04 巧丽 阅读(525) 评论(0) 推荐(0)

表格table隔行变色
摘要:if($('.p03-s2').find('table').length >= 2) {$('table:last-child').css({'borderTop': 'none'});}if($('.p03-s2').find('th').length) {$('thead').css({'bac 阅读全文

posted @ 2019-10-15 18:02 巧丽 阅读(448) 评论(0) 推荐(0)

read more阅读更多,文字超过三行字符后面添加省略号
摘要:var text;$('.blog-item').each(function (i) {text = $(this).find('.blog-excerpt').html();if (text.length > 190) {var sub = text.substr(0,190);var space 阅读全文

posted @ 2019-10-15 17:55 巧丽 阅读(352) 评论(0) 推荐(0)

谷歌浏览器srcoll时,控制台一直报错
摘要:如果是使用betheme-child主题,在wp后台去掉这个srcoll插件 目录是wp后台的Betheme——Theme Options——Addons & Plugins——Addons——SCROLL选中Default Browser Scroll 阅读全文

posted @ 2019-10-15 17:51 巧丽 阅读(220) 评论(0) 推荐(0)

table响应式设计
摘要:table不可用flex布局和td宽度的自适应。 table外层加div.mml-table设置overflow-x:auto可以添加横向滚动条. 阅读全文

posted @ 2019-10-15 17:47 巧丽 阅读(854) 评论(0) 推荐(0)

flex: 1在ios10.2系统手机端的换行布局失败问题
摘要:使用flex:1要追加flex-basis: auto;可以简写flex: 1 1 auto; 表格不可以用flex布局 阅读全文

posted @ 2019-10-15 17:45 巧丽 阅读(759) 评论(0) 推荐(0)

wordpress非弹窗表单多文件上传插件
摘要:插件名:Drag and Drop Multiple File Upload - Contact Form 7 (ps:如果是弹窗表单,不要使用这个插件Drag and Drop Multiple File Upload - Contact Form 7,而是用自带的cf7,参考http://tsc 阅读全文

posted @ 2019-10-15 17:43 巧丽 阅读(473) 评论(0) 推荐(0)

wordpress翻译插件gtranslate
摘要:https://www.gdstautoparts.com/ 阅读全文

posted @ 2019-10-15 17:38 巧丽 阅读(548) 评论(0) 推荐(0)

蜂窝六边形图片
摘要:https://www.gdstautoparts.com/ 阅读全文

posted @ 2019-10-15 17:36 巧丽 阅读(134) 评论(0) 推荐(0)

twentytwenty插件,图片对比轮播
摘要:https://zurb.com/playground/twentytwenty 项目应用 http://decortrim.mml.digital/ 阅读全文

posted @ 2019-10-15 17:35 巧丽 阅读(165) 评论(0) 推荐(0)

wordpress添加视频弹窗插件Video PopUp
摘要:Video PopUp 给外部div 添加class类名:class="main-play" a链接添加 class="vp-a" 弹窗出来即可 阅读全文

posted @ 2019-10-15 17:31 巧丽 阅读(1752) 评论(0) 推荐(0)

css揭秘
摘要:background-position可以使用计算属性calc, background-position: calc(100% - 20px) calc(100% - 10px); 让背景图片跟右边缘保持 20px 的偏移量,同时跟底边保持 10px 的偏移量,background-position 阅读全文

posted @ 2019-10-08 20:58 巧丽 阅读(122) 评论(0) 推荐(0)

导航