freeCodeCamp/guide/english/miscellaneous/hallenge-add-different-marg.../index.md

4 lines
223 B
Markdown

---
title: Hallenge Add Different Margins to Each Side of an Element
---
CSS allows you to control the margin of an element on all four sides with `margin-top`, `margin-right`, `margin-bottom`, and `margin-left` attributes.