Flex实现环绕布局
来源:互联网 发布:php中文手册 下载 编辑:程序博客网 时间:2024/06/01 10:09
html,body{ width: 100%; height: 100%; } html,body,ul,li,a{ padding: 0; margin: 0; list-style-type: none; text-decoration: none; } .sup{ height: 100%; width: 100%; display: flex; flex-wrap:wrap;//超行换行方式 } .sub1{ height: 300px; width: 80%; flex: none; background-color: #FF8000; } .sub2{ height: 600px; width: 20%; margin-top: -21.1%;//自己调节吧 flex: none; background-color: #FFFF80; } .sub3{ height: 600px; width:20%; flex: none; background-color: #FF8080; } .sub4{ height: 300px; width: 80%; flex: none; background-color: #80FF80; }
<div class="sup"> <div class="sub1"></div> <div class="sub2"></div> <div class="sub3"></div> <div class="sub4"></div></div>
0 0
- Flex实现环绕布局
- HTML/CSS实现文字环绕图片布局
- iOS实现文字环绕图片textView布局
- flex布局实现色子
- flex布局实现小标题
- FLex布局实现导航
- css实现Flex布局
- flex布局实现双飞翼
- box-flex实现三等分布局
- 使用flex实现页面布局
- 用flex实现弹性布局
- 实现文字环绕图片
- android 图文 环绕实现
- css实现文字环绕
- Flex布局实现圣杯布局和网格布局
- flex-3D图像环绕虚拟现实代码
- CSS3 中FLEX快速实现BorderLayout布局
- 自己动手实现一个 Flex 布局框架
- HTML basic interview questions
- ruby Errors & Exceptions
- 如何选择开源项目?
- 【图解HTTP笔记】第五章 与HTTP协作的Web服务器
- _itoa atoi、atof、itoa、itow _itoa_s 类型转换使用说明
- Flex实现环绕布局
- 教你如何正确反编译apk
- leetcode 205. Isomorphic Strings-字符匹配|哈希表
- 专题三 Problem A
- JDK环境变量配置
- MySQL 数据库性能优化之表结构优化
- java--Map集合常见遍历格式代码
- 数字图像处理之一 对图像进行傅立叶变换
- cocos环境配置和打包apk