Files

8 lines
530 B
Markdown
Raw Permalink Normal View History

2025-10-20 11:31:13 +05:00
# Margin
Margin in CSS defines the space around an HTML element's border. It creates a gap between the element and surrounding elements, controlling the spacing and layout of content on a webpage. Margins can be set on all four sides of an element (top, right, bottom, left) and can have positive or negative values.
Visit the following resources to learn more:
- [@article@Margin](https://developer.mozilla.org/en-US/docs/Web/CSS/margin)
- [@video@How CSS Padding and Margin Works](https://www.youtube.com/watch?v=NZEz4yNITd8)