![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
移动端
saturday-yh
Object.create(null)
展开
-
H5页面meta的一些设置知识
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN"><head><meta charset="UTF-8" /><meta name="vie.原创 2020-11-05 22:32:15 · 751 阅读 · 0 评论 -
重写css reset.css
@charset "utf-8";html { background-color: #fff; color: #000; font-size: 12px}body,ul,ol,dl,dd,h1,h2,h3,h4,h5,h6,figure,form,fieldset,legend,input,textarea,button,p,blockquote,th,td,pre,xmp { margin: 0; padding: 0}b.原创 2020-05-13 14:03:00 · 203 阅读 · 0 评论 -
解决1个像素边框问题(有些是2倍屏)
创建border.css 文件在vue项目中main.js中引入@charset "utf-8";.border,.border-top,.border-right,.border-bottom,.border-left,.border-topbottom,.border-rightleft,.border-topleft,.border-rightbottom,.border-topright,.border-bottomleft { position: rela.原创 2020-05-13 11:44:24 · 277 阅读 · 0 评论 -
FastClick的用法
移动设备上的浏览器默认会在用户点击屏幕大约延迟300毫秒后才会触发点击事件,这是为了检查用户是否在做双击。不需要使用fastclick的情况以下这几种情况是不需要使用fastclick:1、FastClick是不会对PC浏览器添加监听事件2、Android版Chrome 32+浏览器,如果设置viewport meta的值为width=device-width,这种情况下浏览器会马上出发点击事件,不会延迟300毫秒。<meta name="viewport" content=.原创 2020-05-13 11:38:26 · 850 阅读 · 1 评论 -
移动端适配方案及布局
这三个meta必须引入,<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> <meta name="format-detection" content="telephone=no,email=no,address=n...原创 2020-03-19 10:31:46 · 162 阅读 · 0 评论