css - Is there any guide on "When to use display:block when :inline and when :inline-block" and why? -
 Any good article on when to "when do you use  display: block  Know: inline  and when : inline-block  "and why? 
And when we have to override the performance:? For any HTML tags / element via CSS?
  inline  - treats the element as if it is an inline of the text Was the part.  Width  and  height  are meaningless 
  blocks  - treats the element in the form of rectangle  width  and  height  can be specified 
  inline-block  - an element flows through the text inline, but the  width  and  height  are to be specified. 
Any of these elements by default also For example:
  & lt; Span & gt; ,  & lt; Em> ,  & lt; Strong & gt;  ->     
Comments
Post a Comment