Box Model Quizz

I just finished the quiz of the box model lesson.
The last question asks the following:
Which of the following will set the top and bottom margin to 15px and left and right margin to 30px?
As I have learned that when 2 values are used for margin, the first value controls the vertical and the second controls the horizontal, so my answer was 30px 15px and for some reason that I don’t quite understand, that was the wrong answer.
Isn’t left and right vertical and top and bottom horizontal?
what am I missing?

No, left and right is horizontal. vertical means up and down.

1 Like