今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
The layout module flowchart
- [Narrator] Thanks to the evolution of CSS we now have several different CSS layout modules in our toolkit, specifically flow, flex and grid. That also means there's inevitable confusion about what module to use in what circumstances. The key thing to remember here is these modules are not mutually exclusive. Instead, they're complimentary and meant to be used in combination with each other. To help figure out what module to use in what circumstance, I've created this flow chart. Note that this flow chart is not the only way to think about this problem and does not cover all circumstances and all layouts. It's a basic guide for quick decision making and experimentation, a starting point for further exploration. Anyway, here's how the flow chart works. We start at the top in the blue section by asking the question, is this layout imposed? Is it two dimensions, and is it layout-in? Meaning, do you want to place the items in…
内容
-
-
-
-
-
-
HTML serves most of your needs2 分钟 46 秒
-
(已锁定)
The layout module flowchart2 分钟 47 秒
-
(已锁定)
Modern CSS to the rescue: Custom properties4 分钟 23 秒
-
(已锁定)
CSS as JS properties2 分钟 30 秒
-
(已锁定)
Accessibility and hiding content with CSS4 分钟 32 秒
-
(已锁定)
Units and sizes3 分钟 41 秒
-
(已锁定)
CSS functions5 分钟 12 秒
-
-