当前位置:网站首页>Responsive flow layout
Responsive flow layout
2022-06-30 05:15:00 【-iLu】
The telescopic box is new - The roulette
1.display:flex Open the flow layout
2.flex-grow Expansion ratio Distribute by number of copies , The default is 0
3.flex-shrink Shrinkage ratio The default is 1
4.flex-basis Expansion reference value Expandable and contractible , By number of copies and pixels The default is 1
5.flex-flow arrangement
(1)flex-diection Location
row Left to right layout row-reverse Right to left layout
column Top to bottom layout column-reverse Bottom to top layout
(2)flex-wrap Do you want to change lines
nowwrap Don't wrap wrap Overflow wrap wrap-reverse Reverse wrap
6.order Set the order
Company : Numbers , The default is 1, The bigger the number, the higher it goes
7.align-content Alignment of stacked telescopic rows
flex-start Top alignment flex-end Bottom alignment center In the middle
space-around Average distribution stretch Full of parent classes
8.align-items On side shaft ( The vertical axis ) Alignment in the direction
flex-start Top alignment flex-end Bottom alignment center In the middle
baseline The baseline stretch Full of parent classes
9.align-self On side shaft ( The vertical axis ) Alignment in the direction
flex-start Top alignment flex-end Bottom alignment center In the middle
baseline The baseline stretch Full of parent classes auto The adaptive
10.justify-content Set or retrieve the elastic box element on the spindle ( The horizontal axis ) Alignment in the direction
flex-start Top alignment flex-end Bottom alignment center In the middle
space-around Average distribution space-between full-justified
Note the difference between the two horizontal and vertical axes :
7.8 The horizontal axis and vertical axis refer to the parent class , Support horizontal and vertical center of newline
9.10 Horizontal axis and vertical axis refer to parent and brother , Horizontal and vertical center of newline is not supported
The default value of flow layout
flex:1; It means flex:1 1 0%; [ Extension 1 Receive as 1 The reference value is 0]
flex:none; It means flex:0 0 auto; [ Neither stretch nor shrink Adapt to the parent class according to the original width and height ]
flex:auto; It means flex:1 1 auto; [ Extension 1 Receive as 1 The benchmark value adapts to the parent class according to the original width and height ]
flex:10%; It means flex:1 1 10%; [ Extension 1 Receive as 1 At baseline : The excess area is calculated as 10% Retract ; Smaller than the area of the parent class, press 10% stretch ]
边栏推荐
- VFPBS上传EXCEL并保存MSSQL到数据库中
- Unity ugui text value suspended enlarged display add text background
- Revit二次開發---未打開項目使用面板功能
- Nestjs配置静态资源,模板引擎以及Post示例
- Unity dotween plug-in description
- pytorch中常用损失函数总结
- [typescript] experimentaldecorators of vscode stepping pit
- 003-JS-DOM-Attr-innerText
- Unity ontriggerenter does not call
- Redis cluster concept
猜你喜欢

Unity2019.3.8f1 development environment configuration of hololens2

Ripple effect of mouse click (unity & shader)

Pytorch的安装以及入门使用

网络变压器怎么判断好坏?网络滤波变压器坏了一般是什么症状?

Records of problems encountered in unity + hololens development

Unity scroll view element drag and drop to automatically adsorb centering and card effect

Oracle-数据的基本操作

终端便捷ssh(免密)连接
![[note] usage model tree of the unity resource tree structure virtualizingtreeview](/img/3e/fe5610c797a14554ad735172c3ab54.jpg)
[note] usage model tree of the unity resource tree structure virtualizingtreeview

Unity3d realizes Google Digital Earth
随机推荐
Unity mobile end sliding screen rotation
Rotation, translation and scaling of unity VR objects
Unity animator does not clip animation to play animation in segments
East Tower attack and defense world - XSS bypasses the safety dog
Display steerable 3D model in front of unity UI
Unity- the camera follows the player
Chapter 10 of OpenGL super classic (7th Edition) calculation shader
【VCS+Verdi联合仿真】~ 以计数器为例
VFPBS在IIS下调用EXCEL遇到的Access is denied
Special folders in unity3d and their meanings
Revit secondary development - use panel function without opening the project
Unity screenshot method
OpenGL draws model on QT platform to solve the problem of initializing VAO and VBO
Unity shader flat shadow
Sourcetree usage
How can the international trading platform for frying US crude oil guarantee capital security?
Tensorflow2 of ubantu18.04 X installation
2021-06-17 solve the problem of QML borderless window stretching, window jitter and flicker when stretching and shrinking
Force buckle 977 Square of ordered array
Leetcode 180 Consecutive numbers (2022.06.29)