01-HTML+CSS/14-仿網(wǎng)易云頁(yè)面

仿網(wǎng)易云頁(yè)面

網(wǎng)易云-按鈕背景

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      body,
      h1,
      h2,
      h3,
      ul,
      li,
      p {
        margin: 0;
        padding: 0;
      }

      body {
        font: 12px Arial, Helvetica, sans-serif;
      }

      a {
        text-decoration: none;
        color: #000;
        outline: none;
      }

      ul {
        list-style-type: none;
      }

      input {
        outline: none;
        border: none;
      }

      img {
        vertical-align: top;
      }

      i {
        font-style: normal;
      }

      .wrapper_01 {
        width: 1100px;
        margin: 0 auto;
      }

      .wrapper_02 {
        width: 980px;
        margin: 0 auto;
      }

      .wrapper_03 {
        width: 982px;
        margin: 0 auto;
      }

      .topbar_sprite {
        display: inline-block;
        background-image: url("./images/topbar.png");
      }

      .topbar_icon_hot {
        width: 28px;
        height: 19px;
        background-position: -190px 0;
      }

      .btn_sprite {
        display: inline-block;
        background: url("./images/button2.png") no-repeat;
        height: 31px;
        line-height: 31px;
        text-align: center;
      }

      .btn_type_01_sup {
        background-position: right -100px;
        padding-right: 5px;
        text-align: center;
      }

      .btn_type_01_sub {
        display: block;
        background-position: 0 -59px;
        padding-left: 3px;
      }

      .btn_type_01_sub > i {
        display: block;
        background-position: 0 -59px;
        background: url("./images/button2.png") no-repeat;
        padding-left: 3px;
        height: 31px;
      }

      .btn_type_favor_sup {
        padding-right: 5px;
        background-position: right -1020px;
      }

      .btn_type_favor_sub {
        display: inline-block;
        padding-left: 28px;
        padding-right: 3px;
        background-position: 0 -977px;
      }

      body {
        padding-top: 50px;
        text-align: center;
      }

      .apply {
        width: 210px;
        height: 31px;
        text-align: center;
        line-height: 31px;
        font-size: 12px;
        border-radius: 4px;
        overflow: hidden;
        font-weight: 700;
        color: #000;
        box-sizing: border-box;
        /* background: url("./images/button2.png") right -100px no-repeat;
        padding-right: 5px; */
      }

      .apply > i {
        display: block;
        height: 31px;
        /* background: url("./images/button2.png") no-repeat 0 -59px;
        padding-left: 3px; */
      }

      .btn {
        width: 100px;
      }
    </style>
  </head>
  <body>
    <a class="btn_sprite btn_type_01_sup apply" href="#">
      <i class="btn_sprite btn_type_01_sub">申請(qǐng)成為網(wǎng)易音樂(lè)人</i>
    </a>
    <a class="btn_sprite btn_type_01_sup btn" href="#">
      <i class="btn_sprite btn_type_01_sub">我是按鈕</i>
    </a>
    <a class="btn_sprite btn_type_favor_sup favor" href="#">
      <i class="btn_sprite btn_type_favor_sub">(391274545454572)</i>
    </a>
  </body>
</html>

網(wǎng)易云main部分

網(wǎng)易云main.png
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      body,
      h1,
      h2,
      h3,
      ul,
      li,
      p {
        margin: 0;
        padding: 0;
      }

      body {
        font: 12px Arial, Helvetica, sans-serif;
      }

      a {
        text-decoration: none;
        color: #000;
        outline: none;
      }

      ul {
        list-style-type: none;
      }

      input {
        outline: none;
        border: none;
      }

      img {
        vertical-align: top;
      }

      i {
        font-style: normal;
      }

      .wrapper_01 {
        width: 1100px;
        margin: 0 auto;
      }

      .wrapper_02 {
        width: 980px;
        margin: 0 auto;
      }

      .wrapper_03 {
        width: 982px;
        margin: 0 auto;
      }

      .topbar_sprite {
        display: inline-block;
        background-image: url("./images/topbar.png");
      }

      .topbar_icon_hot {
        width: 28px;
        height: 19px;
        background-position: -190px 0;
      }

      .btn_sprite {
        display: inline-block;
        background: url("./images/button2.png") no-repeat;
        height: 31px;
        line-height: 31px;
        text-align: center;
      }

      .btn_type_01_sup {
        background-position: right -100px;
        padding-right: 5px;
      }

      .btn_type_01_sub {
        display: block;
        background-position: 0 -59px;
        padding-left: 3px;
      }

      .btn_type_01_sub > i {
        display: block;
        background-position: 0 -59px;
        background: url("./images/button2.png") no-repeat;
        padding-left: 3px;
        height: 31px;
      }

      .btn_type_favor_sup {
        padding-right: 5px;
        background-position: right -1020px;
      }

      .btn_type_favor_sub {
        display: inline-block;
        padding-left: 28px;
        padding-right: 3px;
        background-position: 0 -977px;
      }

      .header_type_01 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #ccc;
        padding-bottom: 5px;
        font-size: 12px;
      }

      .header_type_01 .title {
        color: #333;
        font-size: 12px;
      }

      .header_type_01 .more {
        color: #666;
      }

      .header_type_01 .more:hover {
        text-decoration: underline;
      }

      .main .area {
        display: flex;
        border: 1px solid #d3d3d3;
        border-width: 0 1px;
        background-image: url("./images/wrap1.png");
      }

      .main .area-left {
        width: 729px;
      }

      .main .area-right {
        width: 250px;
      }

      .main .area-right .user-login {
        width: 250px;
        height: 126px;
        background: url("./images/index.png") 0 0;
      }

      .main .area-right .user-login .desc {
        width: 205px;
        margin: 0 auto;
        padding-top: 16px;
        color: #666;
        font-size: 12px;
        line-height: 22px;
      }

      .main .area-right .user-login .btn {
        display: block;
        margin: 15px auto 0;
        width: 100px;
        height: 31px;
        line-height: 31px;
        color: #fff;
        text-align: center;
        font-size: 12px;
        background: url("./images/index.png") 0 -195px;
        text-shadow: 0 1px 0 #8a060b;
      }

      .main .settle-singer {
        padding: 20px;
      }

      .main .settle-singer .list {
        padding: 5px 0;
      }

      .main .settle-singer .list .item {
        display: flex;
        width: 210px;
        height: 62px;
        margin-bottom: 15px;
        background-color: #fafafa;
      }

      .main .settle-singer .item .info {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 3px 12px;
        justify-content: space-around;
        border: 1px solid #e9e9e9;
        border-left: none;
      }

      .main .settle-singer .item .info .singer {
        font-size: 14px;
        font-weight: 700;
        color: #000;
      }

      .main .settle-singer .item .info .desc {
        font-size: 12px;
        color: #666;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
      }

      .main .hot-anchor {
        padding: 20px;
      }
    </style>
  </head>
  <body>
    <div class="main">
      <div class="area wrapper_02">
        <div class="area-left"></div>
        <div class="area-right">
          <div class="user-login">
            <p class="desc">
              登錄網(wǎng)易云音樂(lè)张症,可以享受無(wú)限收藏的樂(lè)趣,并且無(wú)限同步到手機(jī)
            </p>
            <a href="#" class="btn">用戶登錄</a>
          </div>
          <div class="settle-singer">
            <div class="header_type_01">
              <h3 class="title">入駐歌手</h3>
              <a href="#" class="more">查看全部&gt;</a>
            </div>
            <ul class="list">
              <li>
                <a href="#" class="item">
                  <div class="album">
                    <img src="./images/109951165588539704.jpg" alt="" />
                  </div>
                  <div class="info">
                    <div class="singer">張惠妹aMEI</div>
                    <div class="desc">臺(tái)灣歌手張惠妹</div>
                  </div>
                </a>
              </li>
              <li>
                <a href="#" class="item">
                  <div class="album">
                    <img src="./images/109951165588539704.jpg" alt="" />
                  </div>
                  <div class="info">
                    <div class="singer">張惠妹aMEI</div>
                    <div class="desc">臺(tái)灣歌手張惠妹</div>
                  </div>
                </a>
              </li>
              <li>
                <a href="#" class="item">
                  <div class="album">
                    <img src="./images/109951165588539704.jpg" alt="" />
                  </div>
                  <div class="info">
                    <div class="singer">張惠妹aMEI</div>
                    <div class="desc">臺(tái)灣歌手張惠妹</div>
                  </div>
                </a>
              </li>
              <li>
                <a href="#" class="item">
                  <div class="album">
                    <img src="./images/109951165588539704.jpg" alt="" />
                  </div>
                  <div class="info">
                    <div class="singer">張惠妹aMEI</div>
                    <div class="desc">臺(tái)灣歌手張惠妹</div>
                  </div>
                </a>
              </li>
              <li>
                <a href="#" class="item">
                  <div class="album">
                    <img src="./images/109951165588539704.jpg" alt="" />
                  </div>
                  <div class="info">
                    <div class="singer">張惠妹aMEI</div>
                    <div class="desc">臺(tái)灣歌手張惠妹</div>
                  </div>
                </a>
              </li>
            </ul>
          </div>
          <div class="hot-anchor">
            <div class="header_type_01">
              <h3 class="title">熱門(mén)主播</h3>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      body,
      h1,
      h2,
      h3,
      ul,
      li,
      p {
        margin: 0;
        padding: 0;
      }

      body {
        font: 12px Arial, Helvetica, sans-serif;
      }

      a {
        text-decoration: none;
        color: #000;
        outline: none;
      }

      ul {
        list-style-type: none;
      }

      input {
        outline: none;
        border: none;
      }

      img {
        vertical-align: top;
      }

      i {
        font-style: normal;
      }

      .wrapper_01 {
        width: 1100px;
        margin: 0 auto;
      }

      .wrapper_02 {
        width: 980px;
        margin: 0 auto;
      }

      .wrapper_03 {
        width: 982px;
        margin: 0 auto;
      }

      .topbar_sprite {
        display: inline-block;
        background-image: url("./images/topbar.png");
      }

      .topbar_icon_hot {
        width: 28px;
        height: 19px;
        background-position: -190px 0;
      }

      .btn_sprite {
        display: inline-block;
        background: url("./images/button2.png") no-repeat;
        height: 31px;
        line-height: 31px;
        text-align: center;
      }

      .btn_type_01_sup {
        background-position: right -100px;
        padding-right: 5px;
      }

      .btn_type_01_sub {
        display: block;
        background-position: 0 -59px;
        padding-left: 3px;
      }

      .btn_type_01_sub > i {
        display: block;
        background-position: 0 -59px;
        background: url("./images/button2.png") no-repeat;
        padding-left: 3px;
        height: 31px;
      }

      .btn_type_favor_sup {
        padding-right: 5px;
        background-position: right -1020px;
      }

      .btn_type_favor_sub {
        display: inline-block;
        padding-left: 28px;
        padding-right: 3px;
        background-position: 0 -977px;
      }

      .header_type_01 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #ccc;
        padding-bottom: 5px;
        font-size: 12px;
      }

      .header_type_01 .title {
        color: #333;
        font-size: 12px;
      }

      .header_type_01 .more {
        color: #666;
      }

      .header_type_01 .more:hover {
        text-decoration: underline;
      }

      .header_type_02 {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        height: 35px;
        box-sizing: border-box;
        padding-left: 34px;
        padding-right: 20px;
        padding-bottom: 5px;
        border-bottom: 2px solid #c10d0c;
        background: url("./images/index.png") no-repeat -225px -156px;
      }

      .header_type_02::after {
        position: absolute;
        content: "";
        display: block;
        width: 12px;
        height: 12px;
        right: 5px;
        bottom: 8px;
        background: url("./images/index.png") no-repeat 0 -240px;
      }

      .header_type_02 .left_area {
        display: flex;
        align-items: center;
      }

      .header_type_02 .title {
        font-size: 20px;
        font-weight: normal;
        color: #333;
      }

      .header_type_02 .keywords {
        display: flex;
        margin-left: 20px;
        color: #999;
      }

      .header_type_02 .keywords .item {
        color: #666;
      }

      .header_type_02 .keywords .line {
        margin: 0 12px;
      }

      .header_type_02 .more {
        font-size: 12px;
        color: #333;
      }

      .header_type_02 .more:hover {
        text-decoration: underline;
      }

      .main .area {
        display: flex;
        border: 1px solid #d3d3d3;
        border-width: 0 1px;
        background-image: url("./images/wrap1.png");
      }

      .main .area-left {
        width: 729px;
        padding: 20px 20px 40px;
      }

      .main .area-right {
        width: 250px;
      }

      .main .area-right .user-login {
        width: 250px;
        height: 126px;
        background: url("./images/index.png") 0 0;
      }

      .main .area-right .user-login .desc {
        width: 205px;
        margin: 0 auto;
        padding-top: 16px;
        color: #666;
        font-size: 12px;
        line-height: 22px;
      }

      .main .area-right .user-login .btn {
        display: block;
        margin: 15px auto 0;
        width: 100px;
        height: 31px;
        line-height: 31px;
        color: #fff;
        text-align: center;
        font-size: 12px;
        background: url("./images/index.png") 0 -195px;
        text-shadow: 0 1px 0 #8a060b;
      }

      .main .settle-singer {
        padding: 20px;
      }

      .main .settle-singer .list {
        padding: 5px 0;
      }

      .main .settle-singer .list .item {
        display: flex;
        width: 210px;
        height: 62px;
        margin-bottom: 15px;
        background-color: #fafafa;
      }

      .main .settle-singer .item .info {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 3px 12px;
        justify-content: space-around;
        border: 1px solid #e9e9e9;
        border-left: none;
      }

      .main .settle-singer .item .info .singer {
        font-size: 14px;
        font-weight: 700;
        color: #000;
      }

      .main .settle-singer .item .info .desc {
        font-size: 12px;
        color: #666;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
      }

      .main .hot-anchor {
        padding: 20px;
      }
    </style>
  </head>
  <body>
    <div class="main">
      <div class="area wrapper_02">
        <div class="area-left">
          <div class="recommend-section">
            <div class="header_type_02">
              <div class="left_area">
                <h2 class="title">熱門(mén)推薦</h2>
                <ul class="keywords">
                  <li><a class="item" href="#">華語(yǔ)</a></li>
                  <li class="line">|</li>
                  <li><a class="item" href="#">流行</a></li>
                  <li class="line">|</li>
                  <li><a class="item" href="#">搖滾</a></li>
                  <li class="line">|</li>
                  <li><a class="item" href="#">民謠</a></li>
                  <li class="line">|</li>
                  <li><a class="item" href="#">電子</a></li>
                </ul>
              </div>
              <div class="right_area">
                <a class="more" href="#">更多</a>
              </div>
            </div>
          </div>
          <div class="disc-section">
            <div class="header_type_02">
              <div class="area_left">
                <h2 class="title">新碟上架</h2>
              </div>
              <div class="area_right">
                <a href="#" class="more">更多</a>
              </div>
            </div>
          </div>
          <div class="rank-section">
            <div class="header_type_02">
              <div class="area_left">
                <h2 class="title">榜單</h2>
              </div>
              <div class="area_right">
                <a href="#" class="more">更多</a>
              </div>
            </div>
          </div>
        </div>
        <div class="area-right">
          <div class="user-login">
            <p class="desc">
              登錄網(wǎng)易云音樂(lè)矿瘦,可以享受無(wú)限收藏的樂(lè)趣,并且無(wú)限同步到手機(jī)
            </p>
            <a href="#" class="btn">用戶登錄</a>
          </div>
          <div class="settle-singer">
            <div class="header_type_01">
              <h3 class="title">入駐歌手</h3>
              <a href="#" class="more">查看全部&gt;</a>
            </div>
            <ul class="list">
              <li>
                <a href="#" class="item">
                  <div class="album">
                    <img src="./images/109951165588539704.jpg" alt="" />
                  </div>
                  <div class="info">
                    <div class="singer">張惠妹aMEI</div>
                    <div class="desc">臺(tái)灣歌手張惠妹</div>
                  </div>
                </a>
              </li>
              <li>
                <a href="#" class="item">
                  <div class="album">
                    <img src="./images/109951165588539704.jpg" alt="" />
                  </div>
                  <div class="info">
                    <div class="singer">張惠妹aMEI</div>
                    <div class="desc">臺(tái)灣歌手張惠妹</div>
                  </div>
                </a>
              </li>
              <li>
                <a href="#" class="item">
                  <div class="album">
                    <img src="./images/109951165588539704.jpg" alt="" />
                  </div>
                  <div class="info">
                    <div class="singer">張惠妹aMEI</div>
                    <div class="desc">臺(tái)灣歌手張惠妹</div>
                  </div>
                </a>
              </li>
              <li>
                <a href="#" class="item">
                  <div class="album">
                    <img src="./images/109951165588539704.jpg" alt="" />
                  </div>
                  <div class="info">
                    <div class="singer">張惠妹aMEI</div>
                    <div class="desc">臺(tái)灣歌手張惠妹</div>
                  </div>
                </a>
              </li>
              <li>
                <a href="#" class="item">
                  <div class="album">
                    <img src="./images/109951165588539704.jpg" alt="" />
                  </div>
                  <div class="info">
                    <div class="singer">張惠妹aMEI</div>
                    <div class="desc">臺(tái)灣歌手張惠妹</div>
                  </div>
                </a>
              </li>
            </ul>
          </div>
          <div class="hot-anchor">
            <div class="header_type_01">
              <h3 class="title">熱門(mén)主播</h3>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末税产,一起剝皮案震驚了整個(gè)濱河市凭涂,隨后出現(xiàn)的幾起案子田盈,更是在濱河造成了極大的恐慌,老刑警劉巖尿这,帶你破解...
    沈念sama閱讀 206,839評(píng)論 6 482
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件簇抵,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡射众,警方通過(guò)查閱死者的電腦和手機(jī)碟摆,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,543評(píng)論 2 382
  • 文/潘曉璐 我一進(jìn)店門(mén),熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái)叨橱,“玉大人典蜕,你說(shuō)我怎么就攤上這事断盛。” “怎么了愉舔?”我有些...
    開(kāi)封第一講書(shū)人閱讀 153,116評(píng)論 0 344
  • 文/不壞的土叔 我叫張陵钢猛,是天一觀的道長(zhǎng)。 經(jīng)常有香客問(wèn)我轩缤,道長(zhǎng)命迈,這世上最難降的妖魔是什么? 我笑而不...
    開(kāi)封第一講書(shū)人閱讀 55,371評(píng)論 1 279
  • 正文 為了忘掉前任典奉,我火速辦了婚禮躺翻,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘卫玖。我一直安慰自己,他們只是感情好踊淳,可當(dāng)我...
    茶點(diǎn)故事閱讀 64,384評(píng)論 5 374
  • 文/花漫 我一把揭開(kāi)白布假瞬。 她就那樣靜靜地躺著,像睡著了一般迂尝。 火紅的嫁衣襯著肌膚如雪脱茉。 梳的紋絲不亂的頭發(fā)上,一...
    開(kāi)封第一講書(shū)人閱讀 49,111評(píng)論 1 285
  • 那天垄开,我揣著相機(jī)與錄音琴许,去河邊找鬼。 笑死溉躲,一個(gè)胖子當(dāng)著我的面吹牛榜田,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播锻梳,決...
    沈念sama閱讀 38,416評(píng)論 3 400
  • 文/蒼蘭香墨 我猛地睜開(kāi)眼箭券,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼!你這毒婦竟也來(lái)了疑枯?” 一聲冷哼從身側(cè)響起辩块,我...
    開(kāi)封第一講書(shū)人閱讀 37,053評(píng)論 0 259
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤,失蹤者是張志新(化名)和其女友劉穎荆永,沒(méi)想到半個(gè)月后废亭,有當(dāng)?shù)厝嗽跇?shù)林里發(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 43,558評(píng)論 1 300
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡具钥,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 36,007評(píng)論 2 325
  • 正文 我和宋清朗相戀三年豆村,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片氓拼。...
    茶點(diǎn)故事閱讀 38,117評(píng)論 1 334
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡你画,死狀恐怖抵碟,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情坏匪,我是刑警寧澤拟逮,帶...
    沈念sama閱讀 33,756評(píng)論 4 324
  • 正文 年R本政府宣布,位于F島的核電站适滓,受9級(jí)特大地震影響敦迄,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜凭迹,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,324評(píng)論 3 307
  • 文/蒙蒙 一罚屋、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧嗅绸,春花似錦脾猛、人聲如沸。這莊子的主人今日做“春日...
    開(kāi)封第一講書(shū)人閱讀 30,315評(píng)論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)。三九已至蚀狰,卻和暖如春愉昆,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背麻蹋。 一陣腳步聲響...
    開(kāi)封第一講書(shū)人閱讀 31,539評(píng)論 1 262
  • 我被黑心中介騙來(lái)泰國(guó)打工跛溉, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人扮授。 一個(gè)月前我還...
    沈念sama閱讀 45,578評(píng)論 2 355
  • 正文 我出身青樓芳室,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親糙箍。 傳聞我的和親對(duì)象是個(gè)殘疾皇子渤愁,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 42,877評(píng)論 2 345

推薦閱讀更多精彩內(nèi)容