Skip to content

Instantly share code, notes, and snippets.

@teffcode
Created June 29, 2020 05:33
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teffcode/dbec26ddcde888b78f80a3002750294b to your computer and use it in GitHub Desktop.
Save teffcode/dbec26ddcde888b78f80a3002750294b to your computer and use it in GitHub Desktop.

👋🏼 Welcome 👋🏼

Quiz banner

Instagram | Twitter | LinkedIn


Choose your language 👅



English version 🚀


Consider the following code:

CSS HTML

What would you see in the browser ?




Click here to see the correct answer and explanation 👀
Correct Answer Explanation
A 🎉 The W3C’s CSS2 spec states that for Inline, the width property does not apply.

Recommended reading 👉🏼 Inline elements and padding



Spanish version 🚀


Considera el siguiente código:

CSS HTML

¿ Qué verías en el navegador ?




Haz click aquí para ver la respuesta correcta y su explicación 👀
Respuesta correcta Explicación
A 🎉 La especificación CSS2 del W3C establece que para los elementos en línea, la propiedad width no se aplica.

Lectura recomendada 👉🏼 Inline elements and padding



@cquiladiaz
Copy link

A. Los elementos inline ignoran anchos, altos y márgenes

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