What is the vertical gap between the two elements below?

Advertisement

<div style=”margin-bottom: 2rem;”>Div 1</div>
<div style=”margin-top: 2rem;”>Div 2</div>

  • 2rem
  • 32px
  • 64px
  • 4rem
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend