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

浙公网安备 33010602011771号