flex-direction
来源:互联网 发布:淘宝宝贝分类 编辑:程序博客网 时间:2024/05/17 02:18
<!doctype html><html><head> <style> #main1 { width:200px; height: 300px; border:1px solid black; display: flex; flex-direction:row; } #main2 { width:200px; height: 300px; border:1px solid black; display: flex; flex-direction:row-reverse; } #main3 { width:200px; height: 300px; border:1px solid black; display: flex; flex-direction:column; } #main4 { width:200px; height: 300px; border:1px solid black; display: flex; flex-direction:column-reverse; } </style></head><body><h4>This is an example for flex-direction:row(default)</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><h4>This is an example for flex-direction:row-reverse</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><h4>This is an example for flex-direction:column</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><h4>This is an example for flex-direction:column-reverse</h4><div id="main4"> <div style="background-color:red;">RED</div> <div style="background-color:lightblue;">BLUE</div> <div style="background-color:lightgreen;">GREEN</div></div></body></html>
0 0
- flex-direction
- flex中的flex-direction
- direction
- direction
- Changing the layout direction of a form item in Flex
- flexbox布局属性flex-direction属性的学习
- Flex中如何通过direction属性,改变Box容器(HBox或VBox)方向
- CSS3 box-orient box-direction box-align box-flex box-pack
- New Direction...
- My direction
- the direction
- Path.Direction
- new direction
- css direction
- HTML5基础加强css样式篇(伸缩容器属性:flex-direction, flex-wrap,flex-flow,align-items,align-content)(五十三)
- Recursion all file direction in a direction
- personal technique direction
- angle of polarized direction
- FlowLayout实现
- 二维码PDF417简介及其解码实现(zxing-cpp)
- Mac Book Pro新手上路
- PHP.ini无效
- struct fb_info
- flex-direction
- JAVA基础
- javase开发问题贴(持续更新)
- UVA12563: Jin Ge Jin Qu hao(类01背包)
- 浅谈数据库及表设计的几个原则
- Java多线程
- Codeforces Round #389 (Div. 2) D. Santa Claus and a Palindrome 回文串+贪心+数据结构、字符串
- python 爬虫分析部分词条影响力分布
- [图解] 11招教你如何玩转数据库设计