BetaThis is a live doc! Anyone with edit access can make updates in real time without having to publish.
Edited Jan 20
By Bryan
  • In progress
  • 利用百分比

    1* { 2 box-sizing: border-box; 3} 4 5html, body, #app { 6 margin: 0; 7 padding: 0; 8 height: 100% 9} 10 11.wrapper { 12 min-height: 100%; 13}

    We need to include selectors for every element that sits between the root html tag, and the element we want to stretch to 100% of the screen size.

    利用 dvh