仿东方航空主页

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>东方航空</title>
    <link rel="stylesheet" href="./infont/iconfont.css" />
    <style type="text/css">
      * {
        margin: 0;
        padding: 0;
      }
      .head {
        margin: 0 auto;
        text-align: center;
        width: 1000px;
        height: 100px;
        font-size: 45px;
        background-position: left;
        color: #fff;
        font-family: "Arial Black", Gadget, sans-serif;
        background-color: #900;
      }
      .d2 {
        margin: 0 auto;
        font-size: 16px;
        text-align: center;
        width: 1000px;
        height: 80px;
        background-color: #000099;
      }
      a {
        text-decoration: none;
      }
      a:link {
        color: #fff;
      }
      a:hover {
        color: #f00;
      }
      .head img {
        width: 70px;
        height: 70px;
      }
      .zt {
        width: 1000px;
        height: 1000px;
        background-color: red;
      }
      .zt img {
        width: 400px;
        height: 350px;
        text-align: center;
      }

      .d2 ul li {
        display: inline-block;
        width: 160px;
        height: 50px;
        line-height: 80px;
        font-size: 29px;
      }
      .d2 ul li a {
        color: #fff;
      }
      .main {
        width: 100%;
        height: 720px;
        background: url(./10.jpeg) no-repeat;
        background-size: cover;
      }
      .main .box {
        position: relative;
        margin: 0 auto;
        width: 1000px;
        height: 575px;
        background-color: #fff;
      }
      .main .box .top {
        line-height: 70px;
        text-align: center;
        display: flex;
        justify-content: space-between;
      }
      .main .box .top .four {
        width: 25%;
        height: 70px;
        background-color: rgb(0, 162, 255);
      }
      .main .box .top .one {
        width: 25%;
        height: 70px;
        background-color: #fff;
      }
      .main .box input[type="radio"] {
        width: 20px;
        height: 20px;
      }
      .main .box .input {
        display: flex;
        justify-content: space-between;
        margin-left: 60px;
        margin-top: 40px;
        width: 950px;
        height: 50px;
      }
      .main .box .input span {
        vertical-align: top;

        margin-right: 50px;
      }
      .main .box .input .shape .squal {
        display: inline-block;
        margin-right: 10px;
        width: 20px;
        height: 20px;
        border: 1px solid #000;
      }
      /*飞机加酒结束*/
      /*地址*/
      .main .logical {
        display: flex;
        justify-content: space-around;
        width: 1000px;
        height: 140px;
      }
      .main .logical .three {
        margin-top: 20px;
        line-height: 50px;
        padding-left: 10px;
        width: 250px;
        height: 50px;
        background-color: aliceblue;
        border: 1px solid #000;
        border-radius: 5px;
      }
      /*地址*/
      /*搜索*/
      .middle {
        position: relative;
        display: flex;
        width: 1000px;
        height: 130px;
      }
      .middle img {
        margin-left: 40px;
        margin-top: 20px;
        width: 500px;
        height: 80px;
      }
      .search {
        font-size: large;
        font-weight: 500;
        color: #fff;
        text-align: center;
        line-height: 50px;
        position: absolute;
        right: -10px;
        top: 40px;
        margin-right: 50px;
        width: 150px;
        height: 50px;
        background-color: #f00;
        border: 1px solid #f00;
        border-radius: 5px;
      }
      /*搜索*/
      /*底部*/
      .bottom {
        position: absolute;
        bottom: 0;
        margin-bottom: 0;
        width: 1000px;
        height: 100px;
      }
      .bottom img {
        width: 1000px;
        height: 100px;
      }
      /*底部*/
      .left {
        position: absolute;
        top: 0;
        left: 0;
      }
      .left img {
        width: 260px;
        height: 180px;
      }
      .right {
        position: absolute;
        top: 0;
        right: 0;
      }
      .right img {
        width: 260px;
        height: 180px;
      }
    </style>
  </head>
  <body>
    <div class="head">
      <h2><img src="14.jpg" />中国东方航空欢迎您</h2>
    </div>
    <div class="d2">
      <ul>
        <li><a href="#">首页</a></li>
        <li><a href="#">公司全貌</a></li>
        <li><a href="#">航班信息</a></li>
        <li><a href="#">公司新闻</a></li>
        <li><a href="#">注册</a></li>
      </ul>
    </div>
    <div class="main">
      <div class="box">
        <div class="top">
          <div class="one">航班搜索</div>
          <div class="four">选座值机</div>
          <div class="four">航班动态</div>
          <div class="four">东航金融</div>
        </div>
        <div class="input">
          <form action="">
            <input type="radio" checked /> <span>单程</span>
            <input type="radio" /> <span>往返</span> <input type="radio" />
            <span>多段</span>
          </form>
          <div class="shape">
            <div class="squal"></div>
            <span>机+酒</span>
          </div>
        </div>
        <div class="logical">
          <div class="three">
            <div class="iconfont icon-dizhi1">武汉/wuhan</div>
          </div>
          <div class="three">
            <div class="iconfont icon-dizhi1">上海/shanghai</div>
          </div>
          <div class="three">2021-11-11</div>
        </div>
        <div class="middle">
          <img src="./logo.png" alt="" />
          <div class="search">搜索</div>
        </div>
        <div class="bottom">
          <img src="./bottom.png" alt="" />
        </div>
      </div>
    </div>
    <div class="left"><img src="./13.jpeg" alt="" /></div>
    <div class="right"><img src="./空姐.jpg" alt="" /></div>
  </body>
</html>

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值