Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

什麼是 Box Model #50

Open
futianshen opened this issue Jan 20, 2019 · 0 comments
Open

什麼是 Box Model #50

futianshen opened this issue Jan 20, 2019 · 0 comments
Labels

Comments

@futianshen
Copy link
Collaborator

由外而內

  • box-sizing:
    • Content-box (default)
    • Border-box (寬高包含 border 和 padding)
  • visibility (shows or hides an element without changing the layout of a document.)
    • visible
    • hidden
    • collapse (for table as if display: none)
  • margin
    • margin-top:
    • margin-right:
    • margin-bottom:
    • margin-left:
  • border
    • border-width
      • border-top-width:
      • Border-right-width:
      • border-bottom-width:
      • border-left-width:
    • Border-style
      • border-top-style:
      • border-right-style:
      • border-bottom-style:
      • border-left-style:
    • Border-color
      • border-top-color:
      • border-right-color:
      • border-bottom-color:
      • border-left-color:
    • border-radius
  • padding
    • Padding-top
    • padding-right
    • padding-bottom
    • padding-left
  • size
    • width
    • height
    • min-width
    • min-height
    • max-width
    • max-height
  • content
    • overflow
    • overflow-x
    • overflow-y

CSS Basic Box Model

@futianshen futianshen added the CSS label Jan 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant