2018-08-04

H5移动页面自适应手机屏幕四类方法

https://blog.csdn.net/baidu_36847344/article/details/64441851

px转rem的网站

http://mxd.tencent.com/wp-content/uploads/2014/11/rem.html

column

column-count:3; column-width:列宽

column-gap:2em;

column-rule:2px #f00 outset

媒体查询

@media screen and (max-width:800px){ }

@media screen and (max-width: 600px){

.list{

width: 100%;

height: 100px;

}

}

meta:

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 选择qi:是表达式 标签选择器 类选择器 属性选择器 继承属性: color,font,text-align,li...
    love2013阅读 6,831评论 0 11
  • 选择qi:是表达式 标签选择器 类选择器 属性选择器 继承属性: color,font,text-align,li...
    wzhiq896阅读 5,792评论 0 2
  • Call It A Good MarriageRobert Graves 1895–1985 Call it a ...
    行路人Journeyer阅读 2,361评论 0 0
  • 媒体查询 + rem
    zhangwinwin阅读 780评论 0 0
  • 小程序学习盒子模型:我的理解是,确定一个view 为一个盒子,然后设定这个盒子内容是行排列 还是竖排列displa...
    chulijun阅读 708评论 0 0