Skip to content

Challenge Adjust the Margin of an Element

SaintPeter edited this page · 1 revision
Clone this wiki locally

An element's margin controls the amount of space between an element's border and surrounding elements.

.green-box {
  background-color: green;
  padding: 20px;
  margin: 20px;
}
Something went wrong with that request. Please try again.