web
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| web [2018/06/02 04:22] – fe80:12ba:4015:35da:f639:426a:af8d:5948 | web [2018/06/07 07:14] (current) – fe80:12ba:4015:35da:f639:426a:af8d:5948 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| window.innerWidth == viewport.width | window.innerWidth == viewport.width | ||
| window.screen.width are screen width in points. | window.screen.width are screen width in points. | ||
| + | window.screen.width === window.outerWidth | ||
| window.devicePixelRatio tells how many physical pixels equal 1 css px. | window.devicePixelRatio tells how many physical pixels equal 1 css px. | ||
| | | ||
| Line 19: | Line 20: | ||
| 默认子元素的 `flex-basis: | 默认子元素的 `flex-basis: | ||
| + | |||
| + | `flex-grow: x`: 子元素 cx 的宽度 = c.flex-basis + (container.width - sum_of_c(flex-basis) ) / all(x) | ||
web.1527913342.txt.gz · Last modified: by fe80:12ba:4015:35da:f639:426a:af8d:5948
