Blogger Information
Blog 12
fans 0
comment 0
visits 9407
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
图文列表和课程表
P粉355147598
Original
455 people have browsed it

1.图文列表

1.图文列表代码

  1. <body>
  2. <!-- 图文列表 ul.nav>li*3.item>a+p>a-->
  3. <ul class="nav" style="display: flex; list-style: none">
  4. <li class="item">
  5. <a href="#"><img src="./static/images/bear.jpg" alt=""></a>
  6. <p><a href="#">bear</a></p>
  7. </li>
  8. &nbsp;
  9. <li class="item">
  10. <a href="#"><img src="./static/images/dog.jpg" alt=""></a>
  11. <p><a href="#">dog</a></p>
  12. </li>
  13. &nbsp;
  14. <li class="item">
  15. <a href="#"><img src="./static/images/duck.jpg" alt=""></a>
  16. <p><a href="#">duck</a></p>
  17. </li>
  18. </ul>
  19. </ul>
  20. </body>

2.效果图

3.课程表代码

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>家里蹲大学课程表</title>
  8. <style>
  9. body {
  10. background: #fff;
  11. text-align: center;
  12. }
  13. caption {
  14. width: 439px;
  15. height: 80px;
  16. }
  17. td {
  18. width: 58px;
  19. height: 40px;
  20. border: 1px solid;
  21. border-radius: 10%;
  22. filter: opacity(0.7);
  23. }
  24. table tr td:first-child {
  25. width: 30px;
  26. }
  27. table {
  28. margin: auto;
  29. padding: 0;
  30. width: 439px;
  31. height: 480px;
  32. text-align: center;
  33. font-size: 13px;
  34. }
  35. </style>
  36. </head>
  37. <body>
  38. <table>
  39. <caption>
  40. <h3>第18周课程表</h3>
  41. </caption>
  42. <thead>
  43. <tr>
  44. <th>时间</th>
  45. <th>周一</th>
  46. <th>周二</th>
  47. <th>周三</th>
  48. <th>周四</th>
  49. <th>周五</th>
  50. </tr>
  51. </thead>
  52. <tbody>
  53. <tr>
  54. <td></td>
  55. <td rowspan="2"></td>
  56. <td rowspan="4">视觉设计基础</td>
  57. <td rowspan="2">软件导论</td>
  58. <td rowspan="2">电路与电子技术</td>
  59. <td rowspan="2">[非本周]电路与电子技术</td>
  60. </tr>
  61. <tr>
  62. <td></td>
  63. </tr>
  64. <tr>
  65. <td></td>
  66. <td rowspan="2">操作系统</td>
  67. <td rowspan="2">UI界面设计</td>
  68. <td rowspan="2">操作系统</td>
  69. <td rowspan="2">毛概</td>
  70. </tr>
  71. <tr>
  72. <td></td>
  73. </tr>
  74. </tbody>
  75. <!-- 午休 -->
  76. <tbody>
  77. <tr>
  78. <td colspan="6">中午休息</td>
  79. </tr>
  80. </tbody>
  81. <!-- 下午 -->
  82. <tbody>
  83. <tr>
  84. <td></td>
  85. <td rowspan="2">电路与电子技术</td>
  86. <td rowspan="2">大学体育</td>
  87. <td rowspan="2">毛概</td>
  88. <td rowspan="2"></td>
  89. <td rowspan="2">软件导论</td>
  90. </tr>
  91. <tr>
  92. <td></td>
  93. </tr>
  94. <tr>
  95. <td></td>
  96. <td rowspan="2">[非本周]形式与政策IV</td>
  97. <td rowspan="2"></td>
  98. <td rowspan="2"></td>
  99. <td rowspan="2">[非本周]Web前端高级技术</td>
  100. <td rowspan="2">操作系统</td>
  101. </tr>
  102. <tr>
  103. <td></td>
  104. </tr>
  105. </tbody>
  106. <!-- 表尾 -->
  107. <tfoot>
  108. <tr>
  109. <td>备注:</td>
  110. <td colspan="5">如有调整,会提前通知,请各位同学按时上课</td>
  111. </tr>
  112. </tfoot>
  113. </table>
  114. </body>
  115. </html>

4.效果图

Correcting teacher:PHPzPHPz

Correction status:qualified

Teacher's comments:这个课程表很有意思,数电还好,模电不简单
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post