上一页 1 ··· 3 4 5 6 7
摘要: 1、选择器+遍历 $('div').each(function (i){ i就是索引值 this 表示获取遍历每一个dom对象 }); 2、选择器+遍历 $('div').each(function (index,domEle){ index就是索引值 domEle 表示获取遍历每一个dom对象 } 阅读全文
posted @ 2017-01-11 11:37 五环 阅读(534) 评论(0) 推荐(0) 编辑
摘要: /***************************************************************** jQuery Validate扩展验证方法 (linjq) *****************************************************************/ $(function(){ // 判断整数value是否等于0 j... 阅读全文
posted @ 2016-12-13 15:53 五环 阅读(166) 评论(0) 推荐(0) 编辑
摘要: HTML 结构很简单,但不是 Single Element: 外层元素 .spinner 负责显示底部的半透明圆环: .spinner 里的 i 元素被裁剪(clip)了一半,并做 0° 至 180° 的顺时钟旋转: i 的 :after 伪元素同样被裁减了一半,并做 -180° 至 180° 的顺 阅读全文
posted @ 2016-12-12 10:27 五环 阅读(305) 评论(0) 推荐(0) 编辑
摘要: text-overflow:clip | ellipsis 默认值:clip 取值: clip:当对象内文本溢出时不显示省略标记(...),而是将溢出的部分裁切掉。ellipsis:当对象内文本溢出时显示省略标记(...)。注意同时要加white-space: nowrap;text-overflo 阅读全文
posted @ 2016-12-09 14:34 五环 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 根据bootstrap源码改的1比5的栅格系统 /*5等分媒体查询样式begin*/ .col-xs-1-5,.col-sm-1-5,.col-md-1-5,.col-lg-1-5,.col-xs-4-5,.col-sm-4-5,.col-md-4-5,.col-lg-4-5 { min-heigh 阅读全文
posted @ 2016-12-09 08:51 五环 阅读(738) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7