HTML5和CSS3开发电子商务网站 第八章习题

本文主要探讨了HTML5和CSS3在电子商务网站开发中的实践应用,通过三个章节的习题,深入理解其在页面布局、交互设计和响应式布局上的优势。
摘要由CSDN通过智能技术生成

1.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>index.html</title>
    <style>
       #title{
            width: 340px;
            border: 2px #AACBEE solid;
            margin: 0px auto;
            border-radius:10px;
        }
        h2{
            text-align: center;
            position: relative;
            left: -50px;
        }
        li{
            list-style: none;
            display:inline-block;
        }
         #d1{
           position: relative;
            right: -270px;
            top: -65px;
        }
        ul img{
            float: left;
            padding: 10px;
            position: relative;
            top: -10px;
        }
        span{
            color: #D80000;
        }a{
           color: #D80000;
                 }
   #last{
       position: relative;
       z-index: 1;
       left: 60px;
       top: 19px;
   }ul{
           position: relative;
           top: -30px;
       }
    </style>
</head>
<body>
<div id="title">
    <h2><span>SHOP</span> 今日推荐</h2><img id="d1" src="more.gif">
    <img id="last" src="shen.png">
   <ul>
       <div id="t1"><li><img src="img8.gif">
           <a href="#">汉来国际美食百货</a>&l
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值