ASCII码 ASCII码

完善课堂的案例,将右侧布局实现

发布于:2022-04-14 13:47:24  栏目:技术文档

右侧布局实现

  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. <title>PHP中文网</title>
  7. <link rel="stylesheet" href="index.css" />
  8. <link rel="stylesheet" href="xxx.css" />
  9. <link rel="stylesheet" href="//at.alicdn.com/t/font_3282106_cgq8n3yup8o.css" />
  10. <link rel="stylesheet" href="ring.css" />
  11. <link rel="stylesheet" href="zhong.css" />
  12. </head>
  13. <body>
  14. <header>
  15. <!-- 顶部 -->
  16. <div class="top">
  17. <div class="box">
  18. <div class="tlt">PHP中文网-程序员梦开始的地方</div>
  19. <div class="youc">
  20. <a href=" " class="iconfont icon-icon_lingdang"></a>
  21. <img
  22. src="https://www.php.cn/static/images/user_avatar.jpg" />
  23. </div>
  24. </div>
  25. </div>
  26. <!-- 导航 -->
  27. <div class="nav">
  28. <div class="bos">
  29. <a href=""><img src="logo.png" /></a>
  30. <div class="lic">
  31. <a href="" style="color: red;">首页</a>
  32. <a href="">视频教程</a>
  33. <a href="">学习路径</a>
  34. <a href="">PHP培训</a>
  35. <a href="">资源下载</a>
  36. <a href="">技术文章</a>
  37. <a href="">社区</a>
  38. </div>
  39. <div class="sear">
  40. <input type="search" placeholder="输入关键字搜索" />
  41. <span class="iconfont icon-Magnifier"></span>
  42. </div>
  43. </div>
  44. </header>
  45. <!-- 底部 -->
  46. <main>
  47. <div class="navs">
  48. <div class="lef ">
  49. <a href="">php开发</a>
  50. <a href="">大前端</a>
  51. <a href="">后端开发</a>
  52. <a href="">数据库</a>
  53. <a href="">移动端</a>
  54. <a href="">运维开发</a>
  55. <a href="">UI设计</a>
  56. </div>
  57. <div class="mix">
  58. <img src="course.jpg" />
  59. </div>
  60. <div class="div1">
  61. <ul class="fss">
  62. <li>
  63. <img src="https://www.php.cn/static/images/user_avatar.jpg">
  64. <a href="">没耐心的..</a>
  65. <span>P豆:14</span>
  66. <button><a href="">我的学习</a></button>
  67. </li>
  68. </ul>
  69. <div class="rt">
  70. <div style="margin-top: 20px;">
  71. <span>问答社区</span>
  72. <a href="" class="dfg">答疑</a>
  73. </div>
  74. <div>
  75. <span>头条</span>
  76. <a href="">首个采用中文编写的操作系统出现了!</a>
  77. </div>
  78. <div>
  79. <span>新课</span>
  80. <a href="">3.9日公益直播课</a>
  81. </div>
  82. <div>
  83. <span>新班</span>
  84. <a href="">19期PHP直播班</a>
  85. </div>
  86. <div>
  87. <span>招募</span>
  88. <a href="">课程合作计划</a>
  89. </div>
  90. <div>
  91. <span>公告</span>
  92. <a href="">APP上线了</a>
  93. </div>
  94. </div>
  95. </div>
  96. <div class="btomm-left">
  97. <div class="dss">
  98. <div class="titx">学习路径</div>
  99. <span>全部7个&gt;</span>
  100. </div>
  101. <ul class="dtt">
  102. <li>
  103. <img src="dgjj.png">
  104. <a href="">独孤九剑</a>
  105. <span>9们课程</span>
  106. </li>
  107. <li>
  108. <img src="ynxj.png">
  109. <a href="">玉女心经</a>
  110. <span>9们课程</span>
  111. </li>
  112. <li>
  113. <img src="tlbb.png">
  114. <a href="">天龙八部</a>
  115. <span>9们课程</span>
  116. </li>
  117. <li>
  118. <img src="phpkjkf.png">
  119. <a href="">自学指南</a>
  120. <span>9们课程</span>
  121. </li>
  122. <li>
  123. <img src="phpksrm.png">
  124. <a href="">趣味闯关</a>
  125. <span>9们课程</span>
  126. </li>
  127. </div>
  128. <div class="btomm-rin">
  129. <div class="iconfont icon-a-ziyuan602">
  130. <div>官方微信</div>
  131. </div>
  132. <div class="iconfont icon-changyonglogo41">
  133. <div>官方QQ群</div>
  134. </div>
  135. </div>
  136. </main>
  137. </body>
  138. </html>

相关推荐
阅读 +