Skip to content

Instantly share code, notes, and snippets.

@teffcode
Created May 18, 2020 15:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save teffcode/f1e7b0edad2062bc8af837446dfc0676 to your computer and use it in GitHub Desktop.
Save teffcode/f1e7b0edad2062bc8af837446dfc0676 to your computer and use it in GitHub Desktop.

👋🏼 Welcome 👋🏼

Quiz banner

Instagram | Twitter | LinkedIn


👅 Choose your language



🚀 English version


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



🚀 Spanish version


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



@BrianJacobo
Copy link

Great!

@podervivo
Copy link

Esto es así, a menos que se especifique Margin-right: 0px || margin: 5px, 10px, 15px, 0px; ?

@oscarelvisdev
Copy link

genial, gracias por crear estos retos nos ayuda a reforsar y consolidar nuestros conocimientos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment