<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
            background: greenyellow;
        div div{
            width: 200px;
            height: 200px;
            border: 1px red solid;
            float: left;
            margin: 20px;

            content: '';
            display: table;
            clear: both
            float: none;

    <div class="test">
            <div class="div1">div1</div>
            <div class="div2">div2</div>
            <div class="div3">div3</div>
            <div class="div4">div4</div>
            <div class="div5">div5</div>
            <div class="div6">div6</div>  

Last modification:June 21st, 2019 at 04:15 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment