<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Inline Block</title>
  <style>
    div {
      display: inline-block;
      background-color: blueviolet;
    }

    .one {
      width: 25%;
    }

    .two {
      width: 25%;
    }

    .three {
      width: 40%;
    }
  </style>
</head>

<body>

  <body>
    <h1>Inline-Block</h1>
    <div class="one">
      <p>Lorem ipsum dolor sit amet consectetur adipisici