Spacer

๐Ÿ”ฐ CSS โŸฉ Layout โŸฉ System โŸฉ

็ตฆ VStack ่ˆ‡ HStack ็•ถใ€Œๅฐ‡ children ้š”้–‹็”จใ€็š„ๅ…ƒ็ด ใ€‚

axiom

  • box-sizing: border-box (้•ทๅฏฌๅŒ…ๅซ้‚Š็ทš)

  • width: 0 ๆˆ– height: 0

  • border: none (ไธ่ƒฝๆœ‰้‚Š็ทš)

  • ๅ…ทๆœ‰ margin-left: auto ๆˆ– margin-top: auto

code example

<spacer>
Spacer v.0.0.2

Last updated

Was this helpful?