<style>
    .box {
        width: 100px;
        height: 100px;
        display: inline-block;
        background-color: black;
    }
</style>
<body>
    <div class="box"></div>
    <div class="box"></div>
    <div class="box"></div>
</body>
