05 2020 档案

摘要:解释 现代浏览器陆续意识到了这种需求,scrollIntoView意思是滚动到可视,css中提供了scroll behavior属性,js有Element.scrollIntoView()方法。 scroll behavior scroll behavior属性可取值auto|smooth|inhe 阅读全文
posted @ 2020-05-22 15:38 阿臻 阅读(3809) 评论(0) 推荐(1) 编辑
摘要:``` @media screen and (max-height:640px) ``` 阅读全文
posted @ 2020-05-15 10:33 阿臻 阅读(259) 评论(0) 推荐(0) 编辑
摘要:```document.body.addEventListener('touchmove', function (e) { e.preventDefault(); //阻止默认的处理方式(阻止下拉滑动的效果)}, { passive: false });``` 阅读全文
posted @ 2020-05-14 18:11 阿臻 阅读(764) 评论(0) 推荐(0) 编辑
摘要:只适用于 简单的数据转换 阅读全文
posted @ 2020-05-14 18:10 阿臻 阅读(688) 评论(0) 推荐(0) 编辑
摘要:"uni节点选择器资料" "uni的页面滚动" 阅读全文
posted @ 2020-05-08 11:16 阿臻 阅读(7629) 评论(0) 推荐(0) 编辑
摘要:``` -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-tap-highlight-color: transparent; ``` 阅读全文
posted @ 2020-05-08 09:43 阿臻 阅读(4139) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示