0
点赞
收藏
分享

微信扫一扫

css 相对定位

waaagh 2022-02-16 阅读 112

23work 

    12年一个循环,不想您今后十二年后重复过去的悲剧,就要奋斗啊 . 全力以赴的奋斗是您目前唯一的出路了。其他别无可选择了。 

 12 years is a cycle. If you don't want to repeat the past tragedy in the next 12 years, you have to struggle Working hard is your only way out at present. There is no other choice.

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

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>demo 模板</title>
    <style>
        /* 代码大典 葵花宝典 */
        /* 九阳神功 西游代码周记  */
        .box1 {
            /*  */
            position: relative;
            top: 100px;
            left: 100px;
            width: 200px;
            height: 200px;
            background-color: red;
            /* margin: 100px auto; */
        }

        .box2 {
            width: 200px;
            height: 300px;
            background-color: blue;
        }
    </style>
</head>

<body>

    <div class="box1"></div>
    <div class="box2"></div>



</body>

</html>

效果

  

 

举报

相关推荐

0 条评论