博客列表 >grid布局学习总结

grid布局学习总结

麦穗
麦穗原创
2020年04月19日 18:42:05514浏览

grid布局学习

千图网首页模仿

目录设置

  • index_banner.css源码

    1. @import url(../public/public_reset.css);
    2. .banner-image {
    3. min-width: 1000px;
    4. margin-bottom: 30px;
    5. background-color: greenyellow;
    6. }
    7. .banner-image img {
    8. width: 100%;
    9. }
  • index_banner.html 源码

    1. <!DOCTYPE html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="UTF-8">
    5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
    6. <link rel="stylesheet" href="index_banner.css">
    7. <title>banner图</title>
    8. </head>
    9. <body>
    10. <div class="banner-image">
    11. <img src="../../static/images/banner.png" alt="">
    12. </div>
    13. </body>
    14. </html>
  • public_footer.css 源码

    1. @import url(../public_reset.css);
    2. footer {
    3. padding-top: 20px;
    4. padding-bottom: 10px;
    5. min-width: 1000px;
    6. background-color: lavender;
    7. display: grid;
    8. grid-auto-flow: column;
    9. grid-template-columns: repeat(12, 100px);
    10. grid-template-rows: repeat(9, 30px);
    11. justify-content: center;
    12. }
    13. footer > .item {
    14. font-size: smaller;
    15. }
    16. footer > .item1,
    17. footer > .item9,
    18. footer > .item15 {
    19. font-size: inherit;
    20. color: #444;
    21. }
    22. footer > .item7 {
    23. grid-column: span 3;
    24. }
    25. footer > .item7 > a {
    26. padding: 0px 10px;
    27. box-sizing: border-box;
    28. }
    29. footer > .item8 {
    30. grid-row: span 2;
    31. grid-column: span 12;
    32. text-align: center;
    33. line-height: 30px;
    34. }
    35. footer > .item21 {
    36. grid-row: span 7;
    37. grid-column: span 6;
    38. }
    39. footer > .item22 {
    40. grid-row: span 2;
    41. grid-column: span 3;
    42. font-size: large;
    43. align-self: center;
    44. }
    45. footer > .item23 {
    46. grid-row: span 2;
    47. grid-column: span 3;
    48. }
    49. footer > .item23 {
    50. display: flex;
    51. align-items: center;
    52. }
    53. footer > .item23 img {
    54. width: 100%;
    55. }
    56. footer > .item23 a:last-of-type {
    57. padding-left: 20px;
    58. box-sizing: border-box;
    59. }
    60. footer > .item24 {
    61. grid-row: span 3;
    62. grid-column: span 3;
    63. font-size: large;
    64. }
  • public_footer.html 源码

    1. <!DOCTYPE html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="UTF-8" />
    5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    6. <link rel="stylesheet" href="../../../static/font_icon/iconfont.css" />
    7. <link rel="stylesheet" href="public_footer.css" />
    8. <title>公共页脚</title>
    9. </head>
    10. <body>
    11. <footer>
    12. <div class="item item1">常见问题</div>
    13. <div class="item item2">成为签约设计师</div>
    14. <div class="item item3">注册登录</div>
    15. <div class="item item4">帐号/密码</div>
    16. <div class="item item5">发票/售后</div>
    17. <div class="item item6">版权投诉</div>
    18. <div class="item item7 iconfont icon-diamonds">
    19. <a href="">注册声明</a><a href=""> 版权声明</a><a href="">售后服务</a
    20. ><a href="">隐私声明</a>
    21. </div>
    22. <div class="item item8">
    23. <p>为了防范电信网络诈骗,如网民接到962110电话,请立即接听</p>
    24. <p>
    25. Copyright ©2013-现在 千图网 沪ICP备10011451号-6 ICP证书: 沪B2-20180057
    26. 上海工商 沪公网安备 31011502008675号
    27. </p>
    28. </div>
    29. <div class="item item9">关于千图网</div>
    30. <div class="item item10">关于我们</div>
    31. <div class="item item11">加入我们</div>
    32. <div class="item item12">心系千图</div>
    33. <div class="item item13">Q群联盟</div>
    34. <div class="item item14"></div>
    35. <div class="item item15">产品服务</div>
    36. <div class="item item16">官方博客</div>
    37. <div class="item item17">帮助中心</div>
    38. <div class="item item18"></div>
    39. <div class="item item19"></div>
    40. <div class="item item20"></div>
    41. <div class="item item21"></div>
    42. <div class="item item22">客服咨询</div>
    43. <div class="item item23">
    44. <a href=""><img src="../../../static/images/chat.png" alt="" /></a>
    45. <a href="" alt="">常见问题&nbsp;>></a>
    46. </div>
    47. <div class="item item24 iconfont icon-shouye">
    48. &nbsp;feedback@58pic.com
    49. </div>
    50. </footer>
    51. </body>
    52. </html>
  • public_header.css 源码
    1. @import url(../public_reset.css);
    2. .header-border-bottom {
    3. border-bottom: 2px solid #ebebeb;
    4. }
    5. .header-nav {
    6. width: 1200px;
    7. margin: 0 auto;
    8. min-width: 1000px;
    9. height: 50px;
    10. display: flex;
    11. align-items: center;
    12. justify-content: end;
    13. }
    14. .header-nav > div:first-of-type {
    15. width: 100px;
    16. margin-right: auto;
    17. }
    18. .header-nav > div:last-of-type {
    19. width: 100px;
    20. height: 25px;
    21. line-height: 25px;
    22. text-align: center;
    23. text-decoration: none;
    24. border: 2px solid forestgreen;
    25. border-radius: 10px;
    26. }
    27. .header-nav > .logo img {
    28. width: 100%;
    29. }
    30. .header-nav > div {
    31. width: 70px;
    32. padding: 0 8px;
    33. }
    34. .header > a {
    35. display: flex;
    36. flex-flow: column nowrap;
    37. align-items: center;
    38. }
    39. .header > a:hover {
    40. color: darkgreen;
    41. font-weight: 500;
    42. }
    43. .header-nav > div:nth-of-type(2) {
    44. width: 500px;
    45. margin-right: auto;
    46. }
    47. .header-nav input {
    48. width: 300px;
    49. height: 30px;
    50. border: 1px solid #ebebeb;
    51. }
    52. .header-search {
    53. display: flex;
    54. align-items: center;
    55. }
    56. .header-search span {
    57. width: 60px;
    58. height: 30px;
    59. box-sizing: border-box;
    60. line-height: 30px;
    61. text-align: center;
    62. border-radius: 10px 0px 0px 10px;
    63. border: 1px solid #ebebeb;
    64. }
    65. .header-search img {
    66. width: 100%;
    67. height: 100%;
    68. }
    69. .header-search label {
    70. width: 60px;
    71. height: 30px;
    72. border-radius: 0px 10px 10px 0px;
    73. }
  • public_header.html 源码
    1. <!DOCTYPE html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="UTF-8" />
    5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    6. <link rel="stylesheet" href="../../../static/font_icon/iconfont.css" />
    7. <link rel="stylesheet" href="public_header.css" />
    8. <title>公共页眉</title>
    9. </head>
    10. <body>
    11. <div class="header-border-bottom">
    12. <div class="header-nav">
    13. <div class="header logo">
    14. <a href="">
    15. <img src="../../../static/images/logo.png" alt="千图网"
    16. /></a>
    17. </div>
    18. <div class="header">
    19. <div class="header-search">
    20. <span><a href="">全部&nbsp;></a></span>
    21. <input type="search" name="search" id="search" />
    22. <label for="search"
    23. ><img src="../../../static/images/search.png" alt=""
    24. /></label>
    25. </div>
    26. </div>
    27. <div class="header">
    28. <a href=""
    29. ><span class="iconfont icon-gengduo"></span> <span>更多</span></a
    30. >
    31. </div>
    32. <div class="header">
    33. <a href=""
    34. ><span class="iconfont icon-icon-"></span> <span>创作中心</span></a
    35. >
    36. </div>
    37. <div class="header">
    38. <a href=""
    39. ><span class="iconfont icon-diamonds"></span> <span>个人中心</span></a
    40. >
    41. </div>
    42. <div class="header">
    43. <a href=""
    44. ><span class="iconfont icon-shenqingchengweiVIP"></span>
    45. <span>企业中心</span></a
    46. >
    47. </div>
    48. <div class="header">
    49. <span
    50. ><a href="">登录</a >&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;<a href="" alt=""
    51. >注册</a
    52. ></span
    53. >
    54. </div>
    55. </div>
    56. </div>
    57. </body>
    58. </html>
  • public_headline.css 源码
    1. @import url(../public_reset.css);
    2. .headline-title {
    3. width: 1200px;
    4. margin: 0 auto;
    5. }
    6. .headline-title a {
    7. padding: 0 10px;
    8. }
    9. .headline-title a:hover {
    10. color: forestgreen;
    11. }
    12. .headline-title a:first-of-type {
    13. font-size: x-large;
    14. }
    15. .headline-title a:last-of-type {
    16. padding-left: 60px;
    17. }
  • public_headline.html 源码
    1. <!DOCTYPE html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="UTF-8" />
    5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    6. <link rel="stylesheet" href="../../../static/font_icon/iconfont.css" />
    7. <link rel="stylesheet" href="public_headline.css" />
    8. <title>大标题</title>
    9. </head>
    10. <body>
    11. <div class="headline-title">
    12. <a href="">创意海报</a>
    13. <a href="">千图精选</a>
    14. <a href="">节日海报</a>
    15. <a href="">招聘海报</a>
    16. <a href="">促销海报</a>
    17. <a href="">公益海报</a>
    18. <a href="">查看更多&nbsp;→</a>
    19. </div>
    20. </body>
    21. </html>
  • public_image_list.css 源码
    1. @import url(../public_reset.css);
    2. .image-list {
    3. width: 1200px;
    4. min-width: 1000px;
    5. display: grid;
    6. grid-template-columns: repeat(4, 290px);
    7. grid-template-rows: repeat(2, 430px);
    8. justify-content: space-between;
    9. /* place-content: center; */
    10. margin: 30px auto;
    11. }
    12. .image-list img {
    13. width: 100%;
    14. }
    15. .image-list a {
    16. padding: 10px;
    17. }
    18. .image-list-p {
    19. padding-top: 10px;
    20. font-size: small;
    21. overflow: hidden;
    22. text-overflow: ellipsis;
    23. white-space: nowrap;
    24. }
    25. .image-list-p strong {
    26. font-weight: normal;
    27. border-radius: 4px;
    28. color: green;
    29. border: 1px solid green;
    30. }
  • public_image_list.html 源码
    1. <!DOCTYPE html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="UTF-8" />
    5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    6. <link rel="stylesheet" href="../../../static/font_icon/iconfont.css" />
    7. <link rel="stylesheet" href="../public_image_list/public_image_list.css" />
    8. <title>图片列表</title>
    9. </head>
    10. <body>
    11. <div class="image-list">
    12. <a href=""
    13. ><img src="../../../static/images/plate1.png" alt="" />
    14. <p class="image-list-p">
    15. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    16. </p></a
    17. >
    18. <a href=""
    19. ><img src="../../../static/images/plate2.png" alt="" />
    20. <p class="image-list-p">
    21. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    22. </p></a
    23. >
    24. <a href=""
    25. ><img src="../../../static/images/plate3.png" alt="" />
    26. <p class="image-list-p">
    27. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    28. </p></a
    29. >
    30. <a href=""
    31. ><img src="../../../static/images/plate4.png" alt="" />
    32. <p class="image-list-p">
    33. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    34. </p></a
    35. >
    36. <a href=""
    37. ><img src="../../../static/images/plate5.png" alt="" />
    38. <p class="image-list-p">
    39. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    40. </p></a
    41. >
    42. <a href=""
    43. ><img src="../../../static/images/plate6.png" alt="" />
    44. <p class="image-list-p">
    45. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    46. </p></a
    47. >
    48. <a href=""
    49. ><img src="../../../static/images/plate7.png" alt="" />
    50. <p class="image-list-p">
    51. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    52. </p></a
    53. >
    54. <a href=""
    55. ><img src="../../../static/images/plate8.png" alt="" />
    56. <p class="image-list-p">
    57. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    58. </p></a
    59. >
    60. </div>
    61. </body>
    62. </html>
  • public_nav.css 源码
    1. @import url(../public_reset.css);
    2. nav {
    3. width: 800px;
    4. margin: 0 auto;
    5. min-width: 1000px;
    6. height: 30px;
    7. font-size: inherit;
    8. color: #555;
    9. display: flex;
    10. align-items: center;
    11. justify-content: space-evenly;
    12. }
    13. nav div {
    14. width: 80px;
    15. text-align: center;
    16. }
  • public_nav.html 源码

    1. <!DOCTYPE html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="UTF-8" />
    5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    6. <link rel="stylesheet" href="../../../static/font_icon/iconfont.css" />
    7. <link rel="stylesheet" href="public_nav.css" />
    8. <title>导航</title>
    9. </head>
    10. <body>
    11. <nav>
    12. <div><a href="">发现</a></div>
    13. <div><a href="">平面广告</a></div>
    14. <div><a href="">元素|插画</a></div>
    15. <div><a href="">背景|摄影</a></div>
    16. <div><a href="">电商设计</a></div>
    17. <div><a href="">PPT文档</a></div>
    18. <div><a href="">视频|配乐</a></div>
    19. <div><a href="">字库|艺术字</a></div>
    20. <div><a href="">装饰|模型</a></div>
    21. <div><a href="">UI|新媒体</a></div>
    22. </nav>
    23. </body>
    24. </html>
  • public_reset.css 源码

    1. /* 初始化设置,内外边距为0 */
    2. *{
    3. margin: 0;
    4. padding: 0;
    5. }
    6. a {
    7. /* 去除默认下划线 */
    8. text-decoration: none;
    9. color: #666;
    10. }
    11. body {
    12. /* 设置字体、字号、颜色、背景颜色样式 */
    13. font-family: "Helvetica Neue", Helvetica, "PingFang SC", Tahoma, Arial,
    14. sans-serif;
    15. font-size: 13px;
    16. color: #555;
    17. background-color: #fff;
    18. }
    19. li {
    20. /* 去除默认小点样式 */
    21. list-style: none;
    22. }
  • index.css 源码

    1. @import url(../components/public/public_reset.css);
    2. /* 页头样式 */
    3. @import url(../components/public/public_header/public_header.css);
    4. /* 导航样式 */
    5. @import url(../components/public/public_nav/public_nav.css);
    6. /* bnaner图样式 */
    7. @import url(../components/index/index_banner.css);
    8. /* 图片列表标题样式 */
    9. @import url(../components/public/public_headline/public_headline.css);
    10. /* 图片列表样式 */
    11. @import url(../components/public/public_image_list/public_image_list.css);
    12. /* 页脚样式 */
    13. @import url(../components/public/public_footer/public_footer.css);
    14. body {
    15. width: 100vw;
    16. margin: 0 auto;
    17. }
  • index.html 源码

    1. <!DOCTYPE html>
    2. <html lang="en">
    3. <head>
    4. <meta charset="UTF-8" />
    5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    6. <link rel="stylesheet" href="../static/font_icon/iconfont.css" />
    7. <link rel="stylesheet" href="index.css" />
    8. <title>千图网模仿网页</title>
    9. </head>
    10. <body>
    11. <!-- 页头 -->
    12. <div class="header-border-bottom">
    13. <div class="header-nav">
    14. <div class="header logo">
    15. <a href=""> <img src="../static/images/logo.png" alt="千图网" /></a>
    16. </div>
    17. <div class="header">
    18. <div class="header-search">
    19. <span><a href="">全部&nbsp;></a></span>
    20. <input type="search" name="search" id="search" />
    21. <label for="search"
    22. ><img src="../static/images/search.png" alt=""
    23. /></label>
    24. </div>
    25. </div>
    26. <div class="header">
    27. <a href=""
    28. ><span class="iconfont icon-gengduo"></span> <span>更多</span></a
    29. >
    30. </div>
    31. <div class="header">
    32. <a href=""
    33. ><span class="iconfont icon-icon-"></span> <span>创作中心</span></a
    34. >
    35. </div>
    36. <div class="header">
    37. <a href=""
    38. ><span class="iconfont icon-diamonds"></span>
    39. <span>个人中心</span></a
    40. >
    41. </div>
    42. <div class="header">
    43. <a href=""
    44. ><span class="iconfont icon-shenqingchengweiVIP"></span>
    45. <span>企业中心</span></a
    46. >
    47. </div>
    48. <div class="header">
    49. <span
    50. ><a href="">登录</a
    51. >&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;<a href="" alt=""
    52. >注册</a
    53. ></span
    54. >
    55. </div>
    56. </div>
    57. </div>
    58. <!-- 导航 -->
    59. <nav>
    60. <div><a href="">发现</a></div>
    61. <div><a href="">平面广告</a></div>
    62. <div><a href="">元素|插画</a></div>
    63. <div><a href="">背景|摄影</a></div>
    64. <div><a href="">电商设计</a></div>
    65. <div><a href="">PPT文档</a></div>
    66. <div><a href="">视频|配乐</a></div>
    67. <div><a href="">字库|艺术字</a></div>
    68. <div><a href="">装饰|模型</a></div>
    69. <div><a href="">UI|新媒体</a></div>
    70. </nav>
    71. <!-- 轮播图 -->
    72. <div class="banner-image">
    73. <img src="../static/images/banner.png" alt="" />
    74. </div>
    75. <!-- 图片列表 -->
    76. <!-- 列表 1 -->
    77. <!-- 列表 1 标题-->
    78. <div class="headline-title">
    79. <a href="">创意海报</a>
    80. <a href="">千图精选</a>
    81. <a href="">节日海报</a>
    82. <a href="">招聘海报</a>
    83. <a href="">促销海报</a>
    84. <a href="">公益海报</a>
    85. <a href="">查看更多&nbsp;→</a>
    86. </div>
    87. <!-- 列表 1 图片-->
    88. <div class="image-list">
    89. <a href=""
    90. ><img src="../static/images/plate1.png" alt="" />
    91. <p class="image-list-p">
    92. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    93. </p></a
    94. >
    95. <a href=""
    96. ><img src="../static/images/plate2.png" alt="" />
    97. <p class="image-list-p">
    98. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    99. </p></a
    100. >
    101. <a href=""
    102. ><img src="../static/images/plate3.png" alt="" />
    103. <p class="image-list-p">
    104. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    105. </p></a
    106. >
    107. <a href=""
    108. ><img src="../static/images/plate4.png" alt="" />
    109. <p class="image-list-p">
    110. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    111. </p></a
    112. >
    113. <a href=""
    114. ><img src="../static/images/plate5.png" alt="" />
    115. <p class="image-list-p">
    116. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    117. </p></a
    118. >
    119. <a href=""
    120. ><img src="../static/images/plate6.png" alt="" />
    121. <p class="image-list-p">
    122. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    123. </p></a
    124. >
    125. <a href=""
    126. ><img src="../static/images/plate7.png" alt="" />
    127. <p class="image-list-p">
    128. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    129. </p></a
    130. >
    131. <a href=""
    132. ><img src="../static/images/plate8.png" alt="" />
    133. <p class="image-list-p">
    134. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    135. </p></a
    136. >
    137. </div>
    138. <!-- 列表 2 标题-->
    139. <div class="headline-title">
    140. <a href="">展板展架</a>
    141. <a href="">千图精选</a>
    142. <a href="">卡通手绘</a>
    143. <a href="">纹理边框</a>
    144. <a href="">图标元素</a>
    145. <a href="">广告背景</a>
    146. <a href="">查看更多&nbsp;→</a>
    147. </div>
    148. <!-- 列表 2 图片-->
    149. <div class="image-list">
    150. <a href=""
    151. ><img src="../static/images/poster1.png" alt="" />
    152. <p class="image-list-p">
    153. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    154. </p></a
    155. >
    156. <a href=""
    157. ><img src="../static/images/poster2.png" alt="" />
    158. <p class="image-list-p">
    159. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    160. </p></a
    161. >
    162. <a href=""
    163. ><img src="../static/images/poster3.png" alt="" />
    164. <p class="image-list-p">
    165. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    166. </p></a
    167. >
    168. <a href=""
    169. ><img src="../static/images/poster4.png" alt="" />
    170. <p class="image-list-p">
    171. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    172. </p></a
    173. >
    174. <a href=""
    175. ><img src="../static/images/poster5.png" alt="" />
    176. <p class="image-list-p">
    177. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    178. </p></a
    179. >
    180. <a href=""
    181. ><img src="../static/images/poster6.png" alt="" />
    182. <p class="image-list-p">
    183. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    184. </p></a
    185. >
    186. <a href=""
    187. ><img src="../static/images/poster7.png" alt="" />
    188. <p class="image-list-p">
    189. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    190. </p></a
    191. >
    192. <a href=""
    193. ><img src="../static/images/poster8.png" alt="" />
    194. <p class="image-list-p">
    195. <strong>原创</strong>素材学校复课防疫科普小知识系列海报素材学校
    196. </p></a
    197. >
    198. </div>
    199. <!-- 页脚 -->
    200. <footer>
    201. <div class="item item1">常见问题</div>
    202. <div class="item item2">成为签约设计师</div>
    203. <div class="item item3">注册登录</div>
    204. <div class="item item4">帐号/密码</div>
    205. <div class="item item5">发票/售后</div>
    206. <div class="item item6">版权投诉</div>
    207. <div class="item item7 iconfont icon-diamonds">
    208. <a href="">注册声明</a><a href=""> 版权声明</a><a href="">售后服务</a
    209. ><a href="">隐私声明</a>
    210. </div>
    211. <div class="item item8">
    212. <p>为了防范电信网络诈骗,如网民接到962110电话,请立即接听</p>
    213. <p>
    214. Copyright ©2013-现在 千图网 沪ICP备10011451号-6 ICP证书: 沪B2-20180057
    215. 上海工商 沪公网安备 31011502008675号
    216. </p>
    217. </div>
    218. <div class="item item9">关于千图网</div>
    219. <div class="item item10">关于我们</div>
    220. <div class="item item11">加入我们</div>
    221. <div class="item item12">心系千图</div>
    222. <div class="item item13">Q群联盟</div>
    223. <div class="item item14"></div>
    224. <div class="item item15">产品服务</div>
    225. <div class="item item16">官方博客</div>
    226. <div class="item item17">帮助中心</div>
    227. <div class="item item18"></div>
    228. <div class="item item19"></div>
    229. <div class="item item20"></div>
    230. <div class="item item21"></div>
    231. <div class="item item22">客服咨询</div>
    232. <div class="item item23">
    233. <a href=""><img src="../static/images/chat.png" alt="" /></a>
    234. <a href="" alt="">常见问题&nbsp;>></a>
    235. </div>
    236. <div class="item item24 iconfont icon-shouye">
    237. &nbsp;feedback@58pic.com
    238. </div>
    239. </footer>
    240. </body>
    241. </html>
  • 显示效果

学习总结:

模仿千图网前端页面有8成,感觉有很多源码有冗余的地方,需要改进的地方还有很多,grid布局感觉这个非常好,相信以后用到的地方还有很多,总之,这个页面完成的有点吃力,算是入了个门槛,给自己加油ヾ(◍°∇°◍)ノ゙

声明:本文内容转载自脚本之家,由网友自发贡献,版权归原作者所有,如您发现涉嫌抄袭侵权,请联系admin@php.cn 核实处理。
全部评论
文明上网理性发言,请遵守新闻评论服务协议