移动端项目构建?

1.首先引入meta标签设置移动端

2.公共样式css

html,body,ul,li,img,a,p,div{

margin:0;

padding:0;

设置盒模型

border-sizing:border-box;

去除移动端特有的点击高亮的效果

-webkit-tap-highlight-color:transparent;

}

body{

扫描二维码关注公众号,回复: 2487163 查看本文章

font-family:"微软雅黑",sana-serif;

font-size:13px;

}

a,

a:hover{

color:#666;

text-decoration:none;

}

猜你喜欢

转载自www.cnblogs.com/duanzhange/p/9396955.html
今日推荐