User Tools

Site Tools


web

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
web [2018/06/02 04:22] fe80:12ba:4015:35da:f639:426a:af8d:5948web [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: auto` 根据其内容决定宽度,如果子元素的高度超出 container 的高度(如果设定的话)则会溢出。 默认子元素的 `flex-basis: auto` 根据其内容决定宽度,如果子元素的高度超出 container 的高度(如果设定的话)则会溢出。
 +
 +`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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki