Blogger Information
Blog 35
fans 0
comment 0
visits 16976
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
简单课程表前端设计
三九三伏
Original
667 people have browsed it

简单课程表前端设计

废话不多说,上代码 ^0^

  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>Document</title>
  8. <style>
  9. .mytb {
  10. background-color: rgb(17, 217, 44);
  11. border-radius: 15px;
  12. border: 10px;
  13. }
  14. .mycap {
  15. background-color: rgb(227, 166, 11);
  16. border-radius: 15px;
  17. font-size: 28px;
  18. }
  19. .myth {
  20. background-color: brown;
  21. border-radius: 15px;
  22. }
  23. .mytd {
  24. background-color: azure;
  25. border-radius: 15px;
  26. }
  27. .mycourse {
  28. border-color: #fff;
  29. border-style: groove;
  30. border-radius: 15px;
  31. }
  32. </style>
  33. </head>
  34. <body>
  35. <table class="mytb">
  36. <caption class="mycap">2022年下学期课程表</caption>
  37. <thead>
  38. <tr>
  39. <th></th>
  40. <th class="myth">星期一</th>
  41. <th class="myth">星期二</th>
  42. <th class="myth">星期三</th>
  43. <th class="myth">星期四</th>
  44. <th class="myth">星期五</th>
  45. <th class="myth">星期六</th>
  46. <th class="myth">星期日</th>
  47. </tr>
  48. </thead>
  49. <tbody>
  50. <tr>
  51. <td rowspan="4" class="mytd">上午</td>
  52. <td class="mycourse">语文</td>
  53. <td class="mycourse">数学</td>
  54. <td class="mycourse">数学</td>
  55. <td class="mycourse">语文</td>
  56. <td class="mycourse">地理</td>
  57. <td rowspan="4" class="mytd">放假</td>
  58. <td rowspan="4" class="mytd">放假</td>
  59. </tr>
  60. <tr>
  61. <td class="mycourse">数学</td>
  62. <td class="mycourse">地理</td>
  63. <td class="mycourse">语文</td>
  64. <td class="mycourse">物理</td>
  65. <td class="mycourse">英语</td>
  66. </tr>
  67. <tr>
  68. <td class="mycourse">化学</td>
  69. <td class="mycourse">语文</td>
  70. <td class="mycourse">历史</td>
  71. <td class="mycourse">数学</td>
  72. <td class="mycourse">历史</td>
  73. </tr>
  74. <tr>
  75. <td class="mycourse">历史</td>
  76. <td class="mycourse">化学</td>
  77. <td class="mycourse">地理</td>
  78. <td class="mycourse">英语</td>
  79. <td class="mycourse">化学</td>
  80. </tr>
  81. <tr>
  82. <td colspan="9" align="center" class="mytd">午间休息</td>
  83. </tr>
  84. <tr>
  85. <td rowspan="3" class="mytd">下午</td>
  86. <td class="mycourse">体育</td>
  87. <td class="mycourse">英语</td>
  88. <td class="mycourse">音乐</td>
  89. <td class="mycourse">历史</td>
  90. <td class="mycourse">化学</td>
  91. <td rowspan="2" class="mytd">放假</td>
  92. <td rowspan="2" class="mytd">放假</td>
  93. </tr>
  94. <tr>
  95. <td class="mycourse">英语</td>
  96. <td class="mycourse">地理</td>
  97. <td class="mycourse">音乐</td>
  98. <td class="mycourse">英语</td>
  99. <td class="mycourse">体育</td>
  100. </tr>
  101. <tr>
  102. </tr>
  103. </tbody>
  104. <p>
  105. </p>
  106. <tfoot>
  107. <tr>
  108. <td colspan="9" align="center">PHP 中文网@<a href="php.cn">php.cn</a></td>
  109. </tr>
  110. </tfoot>
  111. </table>
  112. </body>
  113. </html>

效果如下图:

课程表图标丢了

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