Instagram | Twitter | LinkedIn
Consider the following code:
How is the margin
property applied when three values are specified ?
👀 Click here to see the correct answer and explanation
Correct Answer | Explanation |
---|---|
B | The margin property may be specified using one, two, three, or four values. When three values are specified, the first margin applies to the top, the second to the right and left, the third to the bottom. |
Explanation based on 👉🏼 Margin - MDN
Considera el siguiente código:
¿ Cómo se aplica la propiedad margin
cuando se especifican tres valores ?
👀 Haz click aquí para ver la respuesta correcta y su explicación
Respuesta correcta | Explicación |
---|---|
B | La propiedad margin puede especificarse usando uno, dos, tres o cuatro valores. Cuando se especifican tres valores como en este caso, el primer margen se aplica a la parte superior, el segundo a la derecha e izquierda, y el tercero a la parte inferior. |
Explicación basada en 👉🏼 Margin - MDN
Great!