自适应的经典布局 少任意一个模块都能自适应
来源:互联网 发布:网络音响系统布线图 编辑:程序博客网 时间:2024/05/22 03:53
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><title>flex 布局</title><link rel="stylesheet" href="index.css"><style>.freeLayout-bd{display: flex;width: 100%;height:100vh;}/*.left{ flex:1; }.right{ flex:1; }*/.freeLayout-left{ width: 200px; }.freeLayout-right{ width: 250px; }.freeLayout-center{ flex:2; }.freeLayout-left{ background: #C7E0FE;}.freeLayout-center{ background: #ccc; height:100%;}.freeLayout-top,.freeLayout-bottom{ flex: 1; flex-direction:column; height: 100%; padding:10px; box-sizing: border-box;}.freeLayout-top{ background: #F0E68C;}.freeLayout-bottom{ background: #FFC0CB; }.freeLayout-center>div:nth-last-child(2){ height: 10% }.freeLayout-center>.freeLayout-top+.freeLayout-bottom{ height: 90%;}.freeLayout-right{background: #30C37C;}</style></head><body><div class="freeLayout-bd"><div class="freeLayout-left"></div><div class="freeLayout-center"><div class="freeLayout-top"> </div><div class="freeLayout-bottom"> </div></div><div class="freeLayout-right"></div></div></body></html>
阅读全文
0 0
- 自适应的经典布局 少任意一个模块都能自适应
- flex布局实现左右都不定宽的自适应布局
- 让新手能快速掌握的移动端自适应布局
- WPF 布局的自适应
- UITabelView的自适应布局
- jQuery的自适应布局
- PC端自适应的可交互的经典布局详解
- 自适应布局---自适应宽度
- 实现一个自适应布局 两列布局
- 自适应布局
- 自适应布局
- 自适应布局
- 自适应布局
- 自适应布局
- 前端经典三栏布局,中间自适应。
- html+css:一个自适应的两栏布局的实现
- 一个自适应的宽度的两列网页布局
- 自适应的一个表格
- android中ImageView的属性使用之src和background
- 微信小程序 Node.js (基础五) EventEmitter
- 20170704unable to find valid certification path to requested target
- JAVA8新特性详解
- vue-cli项目跨域处理
- 自适应的经典布局 少任意一个模块都能自适应
- amazon api 请求返回response xml解析
- Linux中command not found及登录界面用户切换问题
- Android 快速开发之几个常见的对话框
- 五.scrapy CSVFeedSpider
- 解决移动端文本框被原生键盘弹出后挡住文本框
- [HY000][1366] Incorrect string value: '\xE3\x81\x94\xE6\xB3\xA8...' for column 'content' at row 1
- webuploader 百度上传组件
- js立即执行函数,jqueryReady和Onload执行顺序比较