Welcome ðŸŽ‰

logo

ReactLMS

Search
Light Mode
Contact Us

2 min to read

Contact us

No results for your search.
Sorry, an unexpected error occurred

Concept


margin is a CSS property used to create space between elements.


margin has multiple implementations, for example:


We can also set separate distances for each direction using:


Usage


Example

HTML

<h1>Hello<h1>
<p>Everyone</p>







CSS

h1 {
  margin: 20px;
  background: lightcoral;
}







Result

Hello

Everyone


Experience


Sub content



Read more
On This Page