- 博客(6)
- 收藏
- 关注
转载 当内容高度不定 ,而始终保持内容居中
将内容包在同一块元素当中,为改元素添加一下样式.dp-box{display:-webkit-box;display:box;}.dp-v{display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:center;}.dp-vc{display:-webkit-box;-webkit-box...
2016-05-13 14:06:00
149
转载 grunt
http://home.cnblogs.com/blog/转载于:https://www.cnblogs.com/wangjiantao112/p/5391276.html
2016-04-14 15:28:00
100
转载 iScroll5中当重置位置
因为项目需要,最近使用了iScroll5,但是发现无论如何都不能完美的实现下拉刷新效果。仔细检查了下,发现iScroll5中当重置位置的时候,如果当前Y坐标大于0,则固定滚动回0,无法动态设置。那么我们只需要进行一点简单的修改,就可以搞定这个问题。1.找到下面这个部分:this.maxScrollX = this.wrapperWidth - this.scrollerWid...
2015-11-23 13:51:00
300
转载 渐进实现点点点loading效果实例页面
CSS代码:.dotting { display: inline-block; min-width: 2px; min-height: 2px; box-shadow: 2px 0 currentColor, 6px 0 currentColor, 10px 0 currentColor; -webkit-animation: dot 4s infin...
2015-07-31 12:29:00
262
转载 完美拖拽思路
<!doctype html><html><head><meta charset="utf-8"><meta name="author" content=""><meta name="copyright" content="智"><title></title><style>* { ...
2015-06-19 12:29:00
139
转载 选项卡,面向对象
<!doctype html><html><head><meta charset="utf-8"><meta name="author" content="" /><meta name="copyright" content="" /><meta name="description" content="" /&...
2015-06-18 15:13:00
124
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅