html作业3

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <style>
            * {
                margin: 0;
                padding: 0;
            }

            .goods {
                width: 250px;
                height: 390px;

            }

            .divv>img {
                display: block;
                width: 250px;
                height: 250px;

            }

            .text>div {
                margin: 5px;
            }

            .price>span {
                vertical-align: middle;
            }

            .price>span:first-child {
                color: #eb5628;
                font-weight: bold;
                font-size: 20px;
                line-height: 20px;
            }

            .price>span:nth-child(2) {
                background-color: #eb5628;
                color: white;
                font-size: 13px;
                line-height: 20px;
            }

            .price>span:last-child {
                float: right;
                font-size: 13px;
                color: #777;
            }

            .des>a>label {
                font-size: 13px;
            }

            .des>a>label:first-child {
                color: #eb5628;
            }

            .des>a:link {
                text-decoration: none;
                color: black;
            }

            .des>a:visited {
                color: black;
            }

            .des>a:hover {
                color: #eb5628;
                text-decoration: underline;
            }

            .shop_info>a:visited {
                color: #777;
            }

            .shop_info>a {
                font-size: 13px;
            }

            .shop_info>label {
                float: right;
                font-size: 13px;
                color: #777;
            }

            .icon_info>span:first-child {
                background: url('img/sprite.png');
                background-size: 610px 600px;
                display: inline-block;
                background-position: -375px -400px;
                width: 32px;
                height: 32px;
            }

            .icon_info>span:last-child {
                background: url('img/2222.png');
                background-size: 860px 852px;
                display: inline-block;
                background-position: -344px -646px;
                width: 32px;
                height: 32px;
                border: 1px solid red;
                float: right;
            }

            .divv {
                width: 250px;
                position: relative;
            }

            .divv>div {
                position: absolute;
                bottom: 0;
                display: none;
            }

            .divv>div>div {
                
                background-color: #eb5628;
                font-size: 25px;
                color: white;
                width: 124px;
                float: left;
                text-align: center;

            }

            .divv>div>div:last-child {
                border: 1px solid white;
                border-top: none;
                border-right: none;
            }

            .divv:hover>div {
                display: block;
            }
        </style>
    </head>
    <body>

        <div class="goods">
            <div class="divv">
                <img src="./img/12234.webp" alt="">
                <div>
                    <div>
                        找相似
                    </div>
                    <div>
                        找相同
                    </div>

                </div>

            </div>

            <div class="text">
                <div class="price">
                    <span>¥12.80</span>
                    <span>包邮</span>
                    <span>1万+人付款</span>
                </div>
                <div class="des">
                    <a href="#">
                        <label for="des">鸡你太美</label>
                        <label for="">手办摆件恶搞ikun小黑子蔡徐坤公仔小玩偶车摆件小玩具</label>
                    </a>
                </div>
                <div class="shop_info">
                    <a href="">信誉玩具专营店</a>
                    <label>浙江 金华</label>
                </div>
                <div class="icon_info">
                    <span></span>
                    <span></span>
                </div>
            </div>
        </div>

    </body>
</html>

 

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <style>
            * {
                margin: 0;
                padding: 0;
            }

            .div1 {
                height: 80px;

                background-color: #9a3032;

            }

            .div2 {
                margin: auto;
                width: 75%;
                height: 80px;
                line-height: 80px;
                position: relative;
            }

            a {
                color: white;
                text-decoration: none;
            }

            .div2>div {
                height: 80px;
                float: left;
                padding-left: 17px;
                padding-right: 17px;
                color: white;

            }

            .div2>div:hover {
                background-color: white;
                color: #9a3032;
            }

            .aa:hover>a {
                color: #9a3032;
            }

            .div3>* {
                float: left;
            }

            .div6>* {
                float: left;
            }

            .div5>* {
                float: left;
            }

            .div3>div>ul>li {
                list-style: none;
                color: black;
                line-height: 30px;
                margin-left: 15px;
                font-size: 16px;
            }

            .div5>div>ul>li {
                list-style: none;
                color: black;
                line-height: 30px;
                margin-right: 15px;
                font-size: 16px;
            }

            .div6>div>ul>li {
                list-style: none;
                color: black;
                line-height: 30px;
                margin-right: 30px;
                font-size: 16px;
            }

            li::before {
                display: inline-block;
                content: " ";
                width: 6px;
                height: 6px;
                border-radius: 50%;
                background-color: #9a3032;
                margin-right: 10px;

            }

            .xxgk {
                position: relative;
            }

            .xxgk:hover>div {
                width: 400px;
                display: block;

            }

            .xxgk>div {
                margin-top: 10px;
                display: none;
                position: absolute;

            }
        </style>
    </head>
    <body>
        <div class="div1">
            <div class="div2">
                <div class="aa">
                    <a href="http://127.0.0.1:8848/pro/dhl.html" target="">首页</a>
                </div>
                <div class="xxgk">
                    学校概况
                    <div class="div3">
                        <div><img src="./img/学校.png" alt="shibai"></div>
                        <div>
                            <ul>
                                <li>学校简介</li>
                                <li>校长寄语</li>
                                <li>学校领导</li>
                                <li>学校风光</li>
                                <li>学校标识</li>
                            </ul>
                        </div>

                    </div>

                </div>
                <div class="xxgk">
                    组织机构
                    <div class="div3">
                        <div><img src="./img/学校.png" alt="shibai"></div>
                        <div>
                            <ul>
                                <li>党政机构</li>
                                <li>行政部门</li>
                                <li>二级学院</li>

                            </ul>
                        </div>

                    </div>
                </div>
                <div class="xxgk">
                    党群工作
                    <div class="div3">
                        <div><img src="./img/学校.png" alt="shibai"></div>
                        <div>
                            <ul>
                                <li>党建工作</li>
                                <li>团委工作</li>
                                <li>工会工作</li>
                            </ul>
                        </div>

                    </div>
                </div>
                <div class="xxgk">
                    教育教学
                    <div class="div3">
                        <div><img src="./img/学校.png" alt="shibai"></div>
                        <div>
                            <ul>
                                <li>本科教育</li>
                                <li>职业教育与继续教育</li>
                                <li>教研与科研</li>
                                <li>教学与动态</li>

                            </ul>
                        </div>

                    </div>
                </div>
                <div class="xxgk">
                    国际教育
                    <div class="div3">
                        <div><img src="./img/学校.png" alt="shibai"></div>
                        <div>
                            <ul>
                                <li>国际交流中心</li>
                                <li>国际教育学院</li>
                                <li>国际联合培养</li>
                                <li>英才计划</li>

                            </ul>
                        </div>

                    </div>
                </div>
                <div class="xxgk">
                    校园生活
                    <div class="div6">
                        <div>
                            <ul>
                                <li>校园设施</li>
                                <li>教学设施</li>
                                <li>餐饮服务</li>

                            </ul>
                        </div>
                        <div>
                            <ul>
                                <li>住宿服务</li>
                                <li>网络服务</li>
                                <li>综合服务</li>

                            </ul>
                        </div>
                        <div><img src="./img/学校.png" alt="shibai"></div>
                    </div>
                </div>
                <div class="xxgk">
                    学生服务
                    <div class="div5">
                        <div>
                            <ul>
                                <li>学工动态</li>
                                <li>学生会</li>
                                <li>学生资助</li>
                                <li>心理健康</li>
                                <li>资料下载</li>
                            </ul>
                        </div>
                        <div><img src="./img/学校.png" alt="shibai"></div>
                    </div>

                </div>
                <div class="xxgk">
                    招生就业
                    <div class="div5">
                        <div>
                            <ul>
                                <li>招生网</li>
                                <li>就业网</li>
                            </ul>
                        </div>
                        <div><img src="./img/学校.png" alt="shibai"></div>
                    </div>
                </div>
                <div class="xxgk">
                    人才招聘
                    <div class="div5">
                        <div>
                            <ul>
                                <li>招聘公告</li>
                                <li>联系我们</li>

                            </ul>
                        </div>
                        <div><img src="./img/学校.png" alt="shibai"></div>
                    </div>
                </div>
                <div class="xxgk">
                    校友会
                </div>

            </div>
        </div>
    </body>
</html>

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值