实现一个排列

等距排列

 

 

 

<!DOCTYPE html>

<html lang="en">

 

<head>

    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <title>Document</title>

    <style>

 

        .mainDiv {

            float: left;

            margin-left: 10%;

            width: 80%;

            margin-top: 2%;

            height: 400px;

            background-color: #FFEBCD;

 

        }

 

        .viceDiv_1,

        .viceDiv_2,

        .viceDiv_3 {

            float: left;

            background-color: #7FFFD4;

            margin-top: 2%;

            margin-left: 2.5%;

            width: 30%;

            height: 150px;

        }

    </style>

</head>

 

<body>

 

    <div class="mainDiv">

        <div class="viceDiv_1">

        </div>

        <div class="viceDiv_2">

        </div>

        <div class="viceDiv_3">

        </div>

        <div class="viceDiv_1">

        </div>

        <div class="viceDiv_2">

        </div>

        <div class="viceDiv_3">

        </div>

    </div>

    <script>


 

    </script>

</body>

 

</html>

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-25
  • 2021-10-20
  • 2021-12-12
  • 2021-11-24
  • 2021-09-26
猜你喜欢
  • 2021-05-07
  • 2021-12-10
  • 2021-10-03
  • 2021-07-09
  • 2021-07-28
  • 2021-05-20
相关资源
相似解决方案