当前位置:网站首页>Essays of this week (sorted out on weekends)
Essays of this week (sorted out on weekends)
2022-07-20 21:45:00 【godlike-icy】
display:inline-flex; align-items:center Can be horizontally centered .
Attribute pairs for block elements flex The container doesn't work
Flex Containers are not block level containers , Therefore, some attributes dedicated to block layout , Yes Flex Layout doesn't work . such as :
column-* In the multi column layout column-* attribute
float and clear You can't let the project under the elastic container get rid of the document flow , Or clear float .
vertical-align Vertical centering does not work .(flex Under the layout , Vertical centering is simpler and more comfortable : Look at an article here )
Pseudo class elements ::first-line and ::first-letter
flex,inline-flex,inline-block difference
flex: Display the object as a block level elastic expansion box .
inline-flex: Display the object as an inline elastic expansion box .
inline-block: Render the object as inline object , But the content of the object is block Object rendering .
for instance ,inline Elemental margin and padding attribute , In the horizontal direction padding-left, padding-right, margin-left, margin-right All have margin effects ; But vertically padding-top, padding-bottom, margin-top, margin-bottom No margin effect .
that , about inline-block Come on ,margin and padding Vertical margin of , Will produce a margin effect .
边栏推荐
猜你喜欢
随机推荐
Skywalking full link monitoring cluster and dynamic deployment
To do difficult work
Microblogging system based on BS architecture
在公司解决的问题
CSAPP:cap2
Swagger 简单快速入门教程
金仓数据库 KingbaseES SQL 语言参考手册 (3.2. 数据类型比较规则)
LVGL 8.2 Message box
Gson简单使用
Jincang database kingbasees SQL language reference manual (3.8. database object, 3.9. database object name and qualifier)
树的性质
Musk said that he had uploaded his brain to the cloud [the system may have been open source]
Apipost签约中国电信!携手加速企业数字化变革
JSON 格式接口测试流程
动态内存管理
英语句式参考纯享版 - 宾语从句
泡泡玛特7天市值蒸发210亿港元,国内卖不动,出海前途未卜
Jincang database kingbasees SQL language reference manual (3.3. type conversion table, 3.4. constants)
最受IT公司欢迎的 30 款开源软件
stm32移植RT-Thread Nano实现finsh全步骤