我和某人谈论 Flexbox,他说 Flexbox 是一个库/轻型框架,这对我来说听起来有点奇怪,现在我很困惑。
是不是框架?
最佳答案
Flexbox只是纯CSS,不是框架
The CSS3 Flexible Box, or flexbox, is a layout mode providing for the arrangement of elements on a page such that the elements behave predictably when the page layout must accommodate different screen sizes and different display devices. For many applications, the flexible box model provides an improvement over the block model in that it does not use floats, nor do the flex container's margins collapse with the margins of its contents
关于css - Flexbox 是一个框架?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41753193/