Skip to content · ⁨ข้ามไปยังเนื้อหา⁩
English

Every box has layers

  • CSS treats every element as a box.
  • Content is your text or image. Padding is space inside, around the content.
  • Border is a line around the padding. Margin is space outside, pushing other boxes away.
ไทย

ทุกกล่องมีชั้น

  • CSS พิจารณาองค์ประกอบทุกอย่างในฐานะ กล่อง
  • เนื้อหา คือข้อความหรือภาพของคุณ Padding คือพื้นที่ ภายใน รอบๆ เนื้อหา
  • Border (ขอบ) คือเส้นรอบๆ พื้นที่ Padding Margin (ระยะห่างภายนอก) คือพื้นที่ด้านนอกที่ดันกล่องอื่นให้ห่างออกไป

Handout · ⁨เอกสารประกอบการเรียน⁩

Log in or create account · ⁨เข้าสู่ระบบหรือสร้างบัญชี⁩

IGCSE, A-Level & AP