博客列表 >Flex改写phpcnUI手册 - 九期线上班

Flex改写phpcnUI手册 - 九期线上班

fkkf467
fkkf467原创
2019年11月10日 15:07:58537浏览

1. Flex改写phpcnUI手册

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>phpcnUI用户参考手册</title>
  6. <style>
  7. * {
  8. padding: 0;
  9. margin: 0;
  10. }
  11. a {
  12. text-decoration: none;
  13. color: black;
  14. }
  15. li {
  16. list-style: none;
  17. }
  18. @media (max-width: 768px) {
  19. main > article {
  20. display: none;
  21. }
  22. main > aside {
  23. flex: 1;
  24. }
  25. }
  26. body {
  27. min-width: 600px;
  28. height: 100vh;
  29. display: flex;
  30. flex-flow: column nowrap;
  31. }
  32. header {
  33. height: 60px;
  34. width: 100%;
  35. background-color: lightskyblue;
  36. box-sizing: border-box;
  37. display: flex;
  38. align-items: center;
  39. }
  40. header > h1 {
  41. color: #555555;
  42. font-size: 28px;
  43. font-weight: normal;
  44. margin-left: 30px;
  45. }
  46. header > h1 > span {
  47. color: #ff7f50;
  48. text-shadow: rgb(51, 51, 51) 2px 2px 1px;
  49. margin-right: 5px;
  50. }
  51. main {
  52. flex: 1;
  53. box-sizing: border-box;
  54. display: flex;
  55. }
  56. main > aside {
  57. width: 240px;
  58. box-sizing: border-box;
  59. background: #EEEEEE;
  60. padding: 30px;
  61. }
  62. main > aside > div > h3 {
  63. color: #333333;
  64. font-size: 18px;
  65. }
  66. main > aside > div > ul {
  67. margin-left: 20px;
  68. font-size: 14px;
  69. color: #333333;
  70. font-weight: lighter;
  71. }
  72. main > aside > div > ul > li {
  73. margin: 5px 0;
  74. }
  75. main > aside a:hover {
  76. color: #20B2AA;
  77. font-weight: bold;
  78. }
  79. main > article {
  80. width: 100%;
  81. box-sizing: border-box;
  82. }
  83. main > article > iframe {
  84. width: 100%;
  85. height: 100%;
  86. }
  87. footer {
  88. height: 60px;
  89. background-color: lightslategrey;
  90. box-sizing: border-box;
  91. display: flex;
  92. align-items: center;
  93. justify-content: center;
  94. color: #444444;
  95. font-size: 14px;
  96. }
  97. footer > a {
  98. color: #333333;
  99. }
  100. footer > a:hover {
  101. color: #20B2AA;
  102. font-weight: bold;
  103. }
  104. </style>
  105. </head>
  106. <body>
  107. <header>
  108. <h1><span>phpcn UI</span>用户参考手册</h1>
  109. </header>
  110. <main>
  111. <aside>
  112. <div>
  113. <h3>前端基础</h3>
  114. <ul>
  115. <li><a href="base/1_框架安装.html" target="content">框架安装</a></li>
  116. <li><a href="base/2_页面结构.html" target="content">页面结构</a></li>
  117. <li><a href="base/3_常用标签.html" target="content">常用标签</a></li>
  118. <li><a href="base/4_CSS选择器.html" target="content">CSS选择器</a></li>
  119. <li><a href="base/5_CSS样式控制.html" target="content">CSS样式控制</a></li>
  120. <li><a href="base/6_CSS盒模型.html" target="content">CSS盒模型</a></li>
  121. <li><a href="base/7_CSS浮动与定位.html" target="content">CSS浮动与定位</a></li>
  122. <li><a href="base/8_CSS常用布局方式.html" target="content">CSS常用布局方式</a></li>
  123. </ul>
  124. </div>
  125. <div>
  126. <h3>框架组件</h3>
  127. <ul>
  128. <li><a href="component/1_栅格布局.html" target="content">栅格布局</a></li>
  129. <li><a href="component/2_常用样式.html" target="content">常用样式</a></li>
  130. <li><a href="component/3_文本与背景色.html" target="content">文本与背景色</a></li>
  131. <li><a href="component/4_表格.html" target="content">表格</a></li>
  132. <li><a href="component/5_分页条.html" target="content">分页条</a></li>
  133. </ul>
  134. </div>
  135. </aside>
  136. <article>
  137. <iframe src="welcome.html" frameborder="0" name="content"></iframe>
  138. </article>
  139. </main>
  140. <footer>
  141. <a href="https://www.php.cn/">php中文网</a>&copy;版权所有(2019)
  142. </footer>
  143. </body>
  144. </html>

2. 总结

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