Skip to content

Instantly share code, notes, and snippets.

@teffcode
Created May 18, 2020 15:04
Show Gist options
  • Select an option

  • Save teffcode/f1e7b0edad2062bc8af837446dfc0676 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

Great!

@podervivo
Copy link
Copy Markdown

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

@oscarelvisdev
Copy link
Copy Markdown

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