淘宝女装分类页面

题目

1.需求说明
(1) .使用<div>和标题等HTML标签编辑页面
(2) .女装各分类名称前的图片使用背景图片的方式实现,标题字体大小 为18px,加粗显示
(3) .分类内容字体大小 为12px,超链接文本字体颜色为黑色,无下划线,当鼠标移至超链接文本上时字体颜色为橙色(#F60),并且显示下划线。
(4) .使用外部样式表创建页面样式
(5) .页面中其他效果见效果图

代码

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档</title>
<link href="淘宝女装分类.css" rel="stylesheet" type="text/css">
</head>

<body>
<div>
 <div>
   <p class="bt_1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;夏季流行</p>
   <hr>
   <p>
      <a href="#">夏季新品</a> &nbsp;&nbsp;
      <a href="#">雪纺裙</a> &nbsp;&nbsp; 
      <a href="#">短袖T</a>&nbsp;&nbsp;
      <a href="#">铅笔裤</a>&nbsp;&nbsp;
      <a href="#">短裤</a>&nbsp;&nbsp;
      <a href="#">短袖衬衫</a> &nbsp;&nbsp;
      <a href="#">小脚牛仔裤</a><br/> 
      <a href="#">开衫</a>&nbsp;&nbsp;
      <a href="#">蕾丝/雪纺衫</a>&nbsp;&nbsp;
      <a href="#">韩版外套</a>&nbsp;&nbsp;
      <a href="#">小西装</a>&nbsp;&nbsp;
      <a href="#">中长款裙</a>
   </p>
 </div>
 <div>
   <p class="bt_2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;上装</p>
   <hr>
   <p>
      <a href="#">T恤</a> &nbsp;&nbsp;
      <a href="#">衬衫</a> &nbsp;&nbsp; 
      <a href="#">针织衫</a>&nbsp;&nbsp;
      <a href="#">长袖T</a>&nbsp;&nbsp;
      <a href="#">韩版T</a>&nbsp;&nbsp;
      <a href="#">情侣衫</a> &nbsp;&nbsp;
      <a href="#">雪纺衬衫</a><br/> 
      <a href="#">韩版衬衫 </a>&nbsp;&nbsp;
      <a href="#">防晒衣</a>&nbsp;&nbsp;
      <a href="#">休闲套装</a>&nbsp;&nbsp;
      <a href="#">卫衣</a>&nbsp;&nbsp;
      <a href="#">背心/吊带 </a> 
   </p>
 </div>
 <div>
   <p class="bt_3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;裙子</p>
   <hr>
   <p>
      <a href="#">连衣裙</a> &nbsp;&nbsp;
      <a href="#">半身裙</a> &nbsp;&nbsp; 
      <a href="#">长裙</a>&nbsp;&nbsp;
      <a href="#">短袖裙</a>&nbsp;&nbsp;
      <a href="#">蕾丝连衣裙</a>&nbsp;&nbsp;
      <a href="#">长袖裙</a> &nbsp;&nbsp;
      <a href="#">无袖/背心裙</a><br/> 
      <a href="#">A字裙</a>&nbsp;&nbsp;
      <a href="#">牛仔裙</a>&nbsp;&nbsp;
      <a href="#">半身中长裙</a>&nbsp;&nbsp;
      <a href="#">半身短裙</a>&nbsp;&nbsp;
      <a href="#">包臀裙</a>
   </p>
 </div>
 <div>
   <p class="bt_4">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;裤子</p>
   <hr>
   <p>
      <a href="#">裤子</a> &nbsp;&nbsp;
      <a href="#">休闲裤</a> &nbsp;&nbsp; 
      <a href="#">牛仔裤</a>&nbsp;&nbsp;
      <a href="#">打底裤</a>&nbsp;&nbsp;
      <a href="#">长裤</a>&nbsp;&nbsp;
      <a href="#">哈伦裤</a> &nbsp;&nbsp;
      <a href="#">阔腿裤</a><br/> 
      <a href="#"> 短裤/热裤</a>&nbsp;&nbsp;
      <a href="#">连体裤</a>&nbsp;&nbsp;
      <a href="#">七/九分裤</a>&nbsp;&nbsp;
      <a href="#">牛仔短裤</a>&nbsp;&nbsp;
      <a href="#">西装裤</a>
   </p>
 </div>
 <div>
   <p class="bt_5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;其他女装</p>
   <hr>
   <p>
      <a href="#">胖M装 </a> &nbsp;&nbsp;
      <a href="#">中老年</a> &nbsp;&nbsp; 
      <a href="#">婚纱</a>&nbsp;&nbsp;
      <a href="#">礼服</a>&nbsp;&nbsp;
      <a href="#">旗袍</a>&nbsp;&nbsp;
      <a href="#">夜店</a> &nbsp;&nbsp;
      <a href="#">舞台装</a><br/> 
      <a href="#">唐装</a>&nbsp;&nbsp;
      <a href="#">职业装</a>&nbsp;&nbsp;
      <a href="#">全球购</a>&nbsp;&nbsp;
      <a href="#">羊绒衫</a>&nbsp;&nbsp;
      <a href="#">毛衣</a> &nbsp;&nbsp;
      <a href="#">呢大衣</a>&nbsp;&nbsp;
      <a href="#">羽绒服</a>
   </p>
 </div>
</div>
</body>

css代码

.bt_1
{
    background-image:url(%E5%9B%BE%E7%89%87%E7%B4%A0%E6%9D%901/dress01.png);
    background-repeat:no-repeat;
    font-size:18px;
    font-weight:bold;
    background-position:left}

a{
    font-size:12px;
    text-decoration:none;
    color:#000;}
a:hover
{
    color:#F60;
    text-decoration:underline;}
.bt_2
{
    background-image:url(%E5%9B%BE%E7%89%87%E7%B4%A0%E6%9D%901/dress02.png);
    background-repeat:no-repeat;
    font-size:18px;
    font-weight:bold;
    background-position:left}
.bt_3
{
    background-image:url(%E5%9B%BE%E7%89%87%E7%B4%A0%E6%9D%901/dress03.png);
    background-repeat:no-repeat;
    font-size:18px;
    font-weight:bold;
    background-position:left}
.bt_4
{
    background-image:url(%E5%9B%BE%E7%89%87%E7%B4%A0%E6%9D%901/dress04.png);
    background-repeat:no-repeat;
    font-size:18px;
    font-weight:bold;
    background-position:left}
.bt_5
{
    background-image:url(%E5%9B%BE%E7%89%87%E7%B4%A0%E6%9D%901/dress05.png);
    background-repeat:no-repeat;
    font-size:18px;
    font-weight:bold;
    background-position:left}

效果图

image.png
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • 给人留下好印象的,除了精致的五官和均匀的身材外,还有气质,每个人都有独特的气质;你的气质决定了,你可以吸引或者排斥...
    努力学习的清梅阅读 3,008评论 0 2
  • 今天悦读群里讨论一个人成长过程中,原生家庭对自己的影响问题。我也想说下我的故事: 我觉得我在一些事情上受原生家庭的...
    绿森林阅读 3,728评论 0 2
  • 最近找到了人生中第一份正職工作 唱片行 雖然覺得每天蠻無聊 但也算學到一些東西啦 首先學會了寫微信訂閱號 哈哈
    葉_畫阅读 921评论 0 0
  • 亲爱的: 此时此刻,“隆隆”的火车声穿入耳膜。列车上的人儿千姿百态。我的左边坐着一对情人,女孩儿的脚搁在男孩子的膝...
    长长长长木阅读 3,483评论 0 1

友情链接更多精彩内容