Padding
Last updated
What is Padding?
Padding refers to the space between the content of an element (like text or an image) and its border. It essentially creates a cushion around the content within the element's box. You can control the amount of padding on all four sides of an element (top, right, bottom, left) individually or set a uniform padding for all sides.
Free resources to learn Padding
- ArticlePadding
- VideoHow CSS Padding and Margin Works
More in stage 12: Padding
Padding: common questions
Can I learn Padding in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Padding in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Padding tutorial for beginners?
It is lesson 57 of 104 in the free CSS roadmap, in stage 12, Padding. If you are new to CSS, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.