随笔分类 -  css

摘要:主要就是设置border的上和左右值,设置为transparent则是让其透明,则画出一个相应图标 阅读全文
posted @ 2019-07-29 11:45 陈小作 阅读(580) 评论(0) 推荐(0)
摘要:input或者button type=submit,,为了不能连续点击多次,开始设置了attr('disabled', true),但是发现后面的表单验证和上传就失效了 解决方法 设置 css("pointer-event": "none") 想重新继续点击的话 css("pointer-event 阅读全文
posted @ 2019-07-05 15:57 陈小作 阅读(2689) 评论(0) 推荐(0)
摘要:垂直居中:align-items:center; display: -webkit-flex;水平居中:justify-content:center; display: -webkit-flex; 阅读全文
posted @ 2019-07-03 17:32 陈小作 阅读(310) 评论(0) 推荐(0)
摘要:1.火狐和IE不支持input 的accept属性,上传的文件需要使用e.target.files[index].type来手动判断 2.火狐浏览器在input框输入之后,刷新页面,原先的值会被保留,需要在form表单上或者指定输入框上添加 autocomplete="off"属性 阅读全文
posted @ 2019-06-14 11:46 陈小作 阅读(494) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/shizk/p/8611534.html 阅读全文
posted @ 2019-05-31 11:01 陈小作 阅读(101) 评论(0) 推荐(0)