当前位置:网站首页>Layout -- detailed explanation of BFC (block level formatting context)
Layout -- detailed explanation of BFC (block level formatting context)
2022-07-21 12:45:00 【Cirrod】
1. Definition
BFC: Block formatting context (Block Formatting Context)
- yes Web Visualization of the page CSS Part of the rendering , It's a box Layout process Where it happened , It's also the area where floating elements interact with other elements .
2. How to make elements ( The box ) become BFC The box
①html The label is BFC The box
② Floating elements are also BFC The box
③ Inline block elements are also BFC The box
④overflow Property value is not visivle. Such as auto、hidden
⑤.......
3.BFC Characteristics of the box
① BFC The box will wrap the inner sub elements by default ( Standard flow 、 float )→ application : Remove the floating
② BFC There is no connection between the box itself and the child elements margin The collapse of → application : solve margin Collapse of
③........
Case explanation and reference :
What is? BFC? Just read this one _Leon_94 The blog of -CSDN Blog _bfc
边栏推荐
- 机器学习作业2
- UE5使用插件Quixel Bridge报错
- 考研-数据库
- Basic usage of async function and await expression in ES6
- Regular expressions match all Chinese characters or characters with double quotation marks
- 【云原生 • DevOps】一文掌握持续集成工具 Jenkins
- Dragon Dragon community released the first Anolis OS Security Guide to escort users' business systems
- 请问民生期货怎么样?安全吗?
- 肝胆外科疾病,存在误诊和/或漏诊、误诊,医疗机构承担主要赔偿责任
- 中国1,2-戊二醇行业研究与投资战略报告(2022版)
猜你喜欢
随机推荐
Programming Competition - Potato Field
MySQL 啥时候用表锁,啥时候用行锁?
数据采集与预处理课设——人在回路的气温数据动态处理与可视化
Introduction to informatization
IM即时通讯开发千万级并发长连接网关技术
项目经理如何有效地进行项目工作量估算?
可衡量的项目目标怎么设定?
How to set measurable project goals?
My creation anniversary (July 18, 2021 - July 18, 2022)
China 1,2-pentanediol industry research and investment strategy report (2022 Edition)
Leetcode 101. 对称二叉树
The meaning of null in C language
Overseas app push (Part 1): differences between manufacturer channel and Google FCM channel
go mod創建項目
一代「博雅」大师离世!缅怀复旦大学原校长、中国科学院院士杨福家教授
让软件开发民主化的低代码
Learning notes of linear regression model (1)
使用易语言开发一款远控软件
2022年备战金九银十,Android从基础到架构进阶全方面面试题解析(含答案及源码)
机器学习-Kmeans