2019年10月15日

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 巧丽 阅读(502) 评论(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 巧丽 阅读(424) 评论(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 巧丽 阅读(334) 评论(0) 推荐(0) 编辑

谷歌浏览器srcoll时,控制台一直报错

摘要: 如果是使用betheme-child主题,在wp后台去掉这个srcoll插件 目录是wp后台的Betheme——Theme Options——Addons & Plugins——Addons——SCROLL选中Default Browser Scroll 阅读全文

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

table响应式设计

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

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

flex: 1在ios10.2系统手机端的换行布局失败问题

摘要: 使用flex:1要追加flex-basis: auto;可以简写flex: 1 1 auto; 表格不可以用flex布局 阅读全文

posted @ 2019-10-15 17:45 巧丽 阅读(731) 评论(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 巧丽 阅读(434) 评论(0) 推荐(0) 编辑

wordpress翻译插件gtranslate

摘要: https://www.gdstautoparts.com/ 阅读全文

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

蜂窝六边形图片

摘要: https://www.gdstautoparts.com/ 阅读全文

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

twentytwenty插件,图片对比轮播

摘要: https://zurb.com/playground/twentytwenty 项目应用 http://decortrim.mml.digital/ 阅读全文

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

wordpress添加视频弹窗插件Video PopUp

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

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

导航