这个页面怎么做,求大佬。

Remix.. 2021-04-27 08:35:17
...全文
563 7 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
风雨五组 2021-05-04
  • 打赏
  • 举报
回复
  • 打赏
  • 举报
回复

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

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    .box1 {
        width: 30%;
        height: 50%;
        margin: 0 auto;
        margin-top: 10%;
        box-sizing: border-box;
        border: 10px solid;
        border-color: #000 #e0921e #e0921e #000;
    }

    .box2 {
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        border: 10px solid;
        border-color: #e0921e #000 #000 #e0921e;
    }

    img {
        width: 100%;
        height: 100%;
        display: block;
    }
</style>

<body>

    <div class="box1">
        <div class="box2">
            <img src="./1224.jpg" alt="">
        </div>
    </div>

</body>

</html>
没那么复杂
画骨难画风 2021-04-27
  • 打赏
  • 举报
回复
就是两个盒子的margin和padding和border样式
Remix.. 2021-04-27
  • 打赏
  • 举报
回复
引用 3 楼 qq_45713941的回复:
background: linear-gradient(to left, #ebeef5, #ebeef5) left bottom no-repeat, linear-gradient(to bottom, #ebeef5, #ebeef5) left bottom no-repeat, linear-gradient(to left, #ebeef5, #ebeef5) right bottom no-repeat, linear-gradient(to left, #ebeef5, #ebeef5) right bottom no-repeat; background-size: 20.5% 1px; 边框背景,其他的自己想吧
你这我看不懂,大一刚学复杂的代码看不懂。
  • 打赏
  • 举报
回复
background: linear-gradient(to left, #ebeef5, #ebeef5) left bottom no-repeat, linear-gradient(to bottom, #ebeef5, #ebeef5) left bottom no-repeat, linear-gradient(to left, #ebeef5, #ebeef5) right bottom no-repeat, linear-gradient(to left, #ebeef5, #ebeef5) right bottom no-repeat; background-size: 20.5% 1px; 边框背景,其他的自己想吧
Remix.. 2021-04-27
  • 打赏
  • 举报
回复
引用 1 楼 酷爱码的回复:
这不是最基础的吗
刚学,好多东西不太懂。
酷爱码 2021-04-27
  • 打赏
  • 举报
回复
这不是最基础的吗

39,118

社区成员

发帖
与我相关
我的任务
社区描述
HTML5是构建Web内容的一种语言描述方式。HTML5是互联网的下一代标准,是构建以及呈现互联网内容的一种语言方式.被认为是互联网的核心技术之一。
社区管理员
  • HTML5社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧