会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ghfjj
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
···
20
下一页
2017年12月13日
鼠标移入的box-shadow参考
摘要: box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);-webkit-transform: translate3d(0, -2px, 0);transform: translate3d(0, -2px, 0); transition: all 0.2s linear;
阅读全文
posted @ 2017-12-13 11:26 ghfjj
阅读(262)
评论(0)
推荐(0)
2017年12月12日
国外分享插件
摘要: <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-59effacb0a4e93a8"></script> addthis
阅读全文
posted @ 2017-12-12 11:25 ghfjj
阅读(549)
评论(0)
推荐(0)
2017年12月8日
Swiper 垂直方向滚动,item不定高度的配置
摘要: var mySwiper = new Swiper('.swiper-container',{ slidesPerView :'auto', autoplay:5000, direction:'vertical', grabCursor:true, autoplayDisableOnInteraction:false, mousewheelContro...
阅读全文
posted @ 2017-12-08 09:40 ghfjj
阅读(15822)
评论(0)
推荐(1)
2017年12月5日
导航条下面的横线随鼠标移动(对应的栏目)
摘要: $(document).ready(function(){ var $liCur = $(".nav ul li.cur"), curP = $liCur.position().left, curW = $liCur.outerWidth(true), $slider = $(".curBg"), $navBox = $("....
阅读全文
posted @ 2017-12-05 16:20 ghfjj
阅读(907)
评论(0)
推荐(0)
2017年12月4日
flex 自适应排版中由于数量不够造成的空白
摘要: flex布局使用justify-content: space-between;,由于数量不足,导致间距空白, 建议用js填充元素 使用! flex_empty($('.activity_online_list'),'li',3,'empty'); 参数说明:1:直接的外包裹框,一般为ul,2:对应的
阅读全文
posted @ 2017-12-04 09:41 ghfjj
阅读(1064)
评论(0)
推荐(0)
2017年12月2日
input 的带有lable的选择样式优化 纯css
摘要: Examples 篮球 乒乓球 足球
阅读全文
posted @ 2017-12-02 17:21 ghfjj
阅读(2247)
评论(0)
推荐(0)
python pip更改源
摘要: pip install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com pakegename比如pip install -i http://pypi.douban.com/simple/ --trusted-host
阅读全文
posted @ 2017-12-02 10:08 ghfjj
阅读(190)
评论(0)
推荐(0)
2017年11月29日
锚点盒子随滚动条浮动
摘要: // 随滚动条浮动 $('.Step_points').width($('.Leftbox').width()); var Step_points_top=$('.Step_points').offset().top; $(window).scroll(function(){ console.log($(window).scrollTop()); ...
阅读全文
posted @ 2017-11-29 14:28 ghfjj
阅读(422)
评论(0)
推荐(0)
锚点跳转
摘要: 1、方法一:href="#div1" 2、方法二:js页面滚动
阅读全文
posted @ 2017-11-29 13:57 ghfjj
阅读(125)
评论(0)
推荐(0)
网页不满屏幕高度时,footer始终在底部显示
摘要: 我们在布局的时候有这样一种情况,就是当页面高度没有超过屏幕高度的时候,footer要固定到底部,而当页面超出满屏的高度的时候,footer要随着高度走。下面我们就通过CSS实现这一效果: 文章来源:陌小雨博客,欢迎分享,转载请保留出处 原文地址:http://www.dedewp.com/2421.
阅读全文
posted @ 2017-11-29 10:10 ghfjj
阅读(798)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
20
下一页
公告