flex-wrap
来源:互联网 发布:公知什么意思 编辑:程序博客网 时间:2024/05/21 17:34
<!doctype html><html><head> <style type="text/css"> #main1{ width:200px; height: 300px; border:1px solid black; display: flex; flex-wrap:nowrap; } #main2{ width:200px; height: 300px; border:1px solid black; display: flex; flex-wrap:wrap; } #main3{ width:200px; height: 300px; border:1px solid black; display: flex; flex-wrap:wrap-reverse; } </style></head><body> <h4>This is an example for flex-wrap:nowarp</h4> <div id="main1"> <div style="background-color:red;">RED</div> <div style="background-color:lightblue;">BLUE</div> <div style="background-color:lightgreen;">GREEN</div> <div style="background-color:yellow;">YELLOW</div> <div style="background-color:lime;">LIME</div> <div style="background-color:orange;">Orange</div> <div style="background-color:gray;">GRAY</div> <div style="background-color:purple;">PURPLE</div> <div style="background-color:olive;">OLIVE</div> </div> <h4>This is an example for flex-wrap:warp</h4> <div id="main2"> <div style="background-color:red;">RED</div> <div style="background-color:lightblue;">BLUE</div> <div style="background-color:lightgreen;">GREEN</div> <div style="background-color:yellow;">YELLOW</div> <div style="background-color:lime;">LIME</div> <div style="background-color:orange;">Orange</div> <div style="background-color:gray;">GRAY</div> <div style="background-color:purple;">PURPLE</div> <div style="background-color:olive;">OLIVE</div> </div> <h4>This is an example for flex-wrap:warp-reverse</h4> <div id="main3"> <div style="background-color:red;">RED</div> <div style="background-color:lightblue;">BLUE</div> <div style="background-color:lightgreen;">GREEN</div> <div style="background-color:yellow;">YELLOW</div> <div style="background-color:lime;">LIME</div> <div style="background-color:orange;">Orange</div> <div style="background-color:gray;">GRAY</div> <div style="background-color:purple;">PURPLE</div> <div style="background-color:olive;">OLIVE</div> </div></body></html>
0 0
- flex-wrap
- wrap
- wrap
- wrap()
- HTML5基础加强css样式篇(伸缩容器属性:flex-direction, flex-wrap,flex-flow,align-items,align-content)(五十三)
- 关注wrap
- wrap属性
- wrap用法
- wrap 用法
- wrap,append
- http wrap
- readline wrap
- Wrap Office(VBA Wrap Window API)
- Oracle's Wrap Utility
- Oracle Wrap使用方法
- wrap属性研究
- wrap加密oracle源程序
- css word-wrap
- 顺序表应用1:多余元素删除之移位算法
- cardview的使用
- 147. Insertion Sort List
- hadoop分布式安装
- 编译openjdk1.7
- flex-wrap
- 顺序表应用2:多余元素删除之建表算法
- 第二章——深入了解超文本
- 享元模式(结构型)
- 高通 MSM8K bootloader 之二: SBL1
- JUnit4 简介
- 数据结构之停车管理系统问题
- Java设计登录界面
- 顺序表应用3:元素位置互换之移位算法