SOURCE

console 命令行工具 X clear

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

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        
        .outer {
            position: relative;
            width: 304px;
            height: 304px;
            background-color: pink;
        }
        
        .inner {
            width: 100px;
            height: 100px;
            border: 1px solid red;
        }
        
        .box1 {
            position: absolute;
            left: 0;
            top: 0;
            background-color: red;
        }
        
        .box2 {
            position: absolute;
            right: 0;
            top: 0;
            background-color: yellow;
        }
        
        .box3 {
            position: absolute;
            bottom: 0;
            left: 0;
            background-color: green;
        }
        
        .box4 {
            position: absolute;
            bottom: 0;
            right: 0;
            background-color: blue;
        }
        
        .box5 {
            position: absolute;
            left: 101px;
            top: 101px;
            background-color: White;
        }
    </style>
</head>

<body>
    <div class="box outer">
        <div class="inner box5"></div>
        <div class="inner box1"></div>
        <div class="inner box2"></div>
        <div class="inner box3"></div>
        <div class="inner box4"></div>

    </div>
</body>

</html>