w3c/csswg-drafts

[css-sizing-3] Illustrate the Sizing Spec

Open

#1,938 创建于 2017年11月5日

在 GitHub 查看
 (3 评论) (3 反应) (0 负责人)HTML (3,546 star) (545 fork)batch import
Help Wantedcss-sizing-3

描述

The new sizing keywords are kindof important for authors, especially now that Flex and Grid make them more useful. It would be nice for the spec to have some illustrations.

Needed SVG diagrams:

  • size (e.g. a rectangle with arrows representing block size, inline size, width, height -- maybe abbreviated version of these ascii diagrams
  • inner size
  • outer size
  • stretch-fit size
  • max-content size
  • min-content size
  • fit-content size

(Aside from the first one, “size”, illustrating these for just the inline axis should be sufficient.)

贡献者指南