2022-4-13作业

<!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>作业</title>
    <style>
        .a1 {
            width: 800px;
            height: 10000px;
            border: 2px red solid;
            position: relative;
        }
      

        .a2 {
            width: 760px;
            height: 50px;
            margin-top: 10px;
            margin-left: 20px;
            margin-right: 20px;
            border: 2px red solid;
        }

        .a3,
        .a4,
        .a5 {
            width: 200px;
            height: 100px;
            margin-top: 10px;
            margin-left: 20px;
            border: 2px red solid;
        }
        .a6{
            width: 760px;
            height: 50px;
            position: absolute;
           bottom: 10px;
           left: 20px;
            border: 2px red solid;

        }
        .a7{
            width: 550px;
            height: 328px;
            position: absolute;
            top: 74px;
            left: 230px;
            border: 2px red solid;
        }
        .a8{
            width: 60px;
            height: 100px;
            border: 5px greenyellow solid;
            position: fixed;
            top: 370px;
            left: 724px;

        }
    </style>
</head>

<body>
    <div class="a1">
        <div class="a2"><a href="www.baidu.com">vv今天吃什么?</a><p id="top"></p></div>
        <div class="a3"></div>
        <div class="a4"></div>
        <div class="a5"></div>
        <div class="a6"></div>
        <div class="a7"></div>
        <div class="a8"><a href="#top">回到顶部</a></div>
    </div>
    
</body>

</html>

在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值