Table of Contents

CSS - Inline-Block

About

Inline-Block is a value of the display property.

An inline-level block container is an element that:

Example

<p>First Paragraph</p>
<p style="column-count: 2;width:30%" >
Second Paragraph is inline (not on a second line) with the first one 
and reacts to block properties such as column-count
</p>
p {
   border:1px solid black;
   display:inline-block;
   padding: 10px
}