Spaces between div items [duplicate]

<div style="background-color: aquamarine; width: 250px; height: 250px;">
    <h1 style="background-color: blueviolet;">fafafaf</h1>
    <h1 style="background-color: blueviolet;">fafafaf</h1>
    <h1 style="background-color: blueviolet;">fafafaf</h1>
</div>

Why there is a space between each h1 tag pic: https://prnt.sc/vnicrj



Read more here: https://stackoverflow.com/questions/64947180/spaces-between-div-items

Content Attribution

This content was originally published by Yaniv at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: