Answers

Question and Answer:

  Home  Front End Developer

⟩ Explain the difference between inline, block, inline-block and box-sizing?

inline is the default. An example of an inline element is <span>.

block displays as a block element, such as <div> or <p>.

inline-block displays an element as an inline-level block container. Here's an article on the topic.

box-sizing tells the browser sizing properties.

 188 views

More Questions for you: