I have a problem with a job I'm doing, I want to make figures based on DIVS the first line or you could call the top part of the figure I could make the problem is that when doing the part of down or the line that is below the first the divs of my first line join with those of the first although I add a margin-top and a margin-left I am a beginner on the web so I do not know many tricks, I thank you in advance.
And that's how it is displayed
And what I need is not to join the divs above
#uno {
margin-left: 800px;
}
#dos {
margin-right: 100px;
}
.gorra {
width: 50px;
height: 50px;
background-color: red;
float: left;
}
.gorra1 {
width: 50px;
height: 50px;
background-color: red;
float: left;
margin-top: 50px;
}
<!DOCTYPE html>
<html>
<body>
<div id="uno">
<div class="gorra"></div>
<div class="gorra"></div>
<div class="gorra"></div>
<div class="gorra"></div>
<div class="gorra"></div>
</div>
<div id="dos">
<div class="gorra1"></div>
<div class="gorra1"></div>
<div class="gorra1"></div>
<div class="gorra1"></div>
<div class="gorra1"></div>
<div class="gorra1"></div>
<div class="gorra1"></div>
<div class="gorra1"></div>
<div class="gorra1"></div>
</div>
</body>
</html>