Learn the CSS Box Model by Building a Rothko Painting - Step 20

why margin-top is not pushing the .one element a space from it’s parent instead the parent itself is being pushed

Hello!

Could you please post your code for us to see?
In this way, we can provide an accurate reponse to the question.

here is the code

.canvas {
width: 500px;
height: 600px;
background-color: #4d0f00;

}

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.