2017年10月10日

摘要: //清除浮动@mixin clearfix zoom : 1 &:after content: '' display: block clear: both//弹性盒子@mixin flex display: block display: -webkit-box display: flex displ 阅读全文
posted @ 2017-10-10 15:53 is.that 阅读(553) 评论(0) 推荐(0) 编辑

2017年9月11日

摘要: 一、插件官方地址 http://parsleyjs.org/ 二、插件使用 1、引用 parsleyjs的使用依赖于jquery,因此引用方式见下图: 2、parsley常用验证方式 (1)表单必填 (3)正则验证 (4)ajax验证 html部分 阅读全文
posted @ 2017-09-11 14:48 is.that 阅读(2599) 评论(0) 推荐(0) 编辑

2017年7月14日

摘要: 在利用parsleyjs插件验证时,发现给textarea使用text()赋值时,该验证不能通过。 由此:解决方案为,使用.text().val()对textarea进行赋值 阅读全文
posted @ 2017-07-14 15:02 is.that 阅读(157) 评论(0) 推荐(0) 编辑

2017年7月13日

摘要: bug:ie不是识别2017-07-13这种时间格式,需要改成2017/07/13这种格式的 解决方法: 阅读全文
posted @ 2017-07-13 10:22 is.that 阅读(297) 评论(0) 推荐(0) 编辑
 
摘要: bug引起:初步怀疑是模态框A里生成iframe框架,并对另一模态框B的input框进行赋值操作。 解决:在A模态框关闭的时候强行删除动态生成的模态框相关元素。具体操作如下: 这是动态生成的模态框相关元素 具体解决方法: 阅读全文
posted @ 2017-07-13 10:07 is.that 阅读(557) 评论(0) 推荐(0) 编辑

2017年6月30日

摘要: 参考代码 阅读全文
posted @ 2017-06-30 14:13 is.that 阅读(372) 评论(0) 推荐(0) 编辑
 
摘要: 一、bootstrap时间插件——datepicker //html文件 <input type="text" class="form-control datepicker" name="test" readonly/> //js文件 (function () { $(document).on('f 阅读全文
posted @ 2017-06-30 11:26 is.that 阅读(229) 评论(0) 推荐(0) 编辑

2016年12月6日

摘要: 1、简易气泡 eg: 2、复杂气泡 简述:两个小三角的叠用,用与背景色相同的小三角挡住另一小三角的横线部分。如图: 阅读全文
posted @ 2016-12-06 15:20 is.that 阅读(512) 评论(0) 推荐(0) 编辑
 
摘要: 一、实例 对部分和子部分进行编号(比如 "Section 1"、"1.1"、"1.2")的方法: eg: css部分: 阅读全文
posted @ 2016-12-06 15:00 is.that 阅读(190) 评论(0) 推荐(0) 编辑