22.html 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <html>
  2. <head>
  3. <!--这是标题名字-->
  4. <title>Mandy_davi</title>
  5. <!--这是标题图片-->
  6. <link href="标题图片.png" rel="icon">
  7. <style type="text/css">
  8. /*图片*/
  9. .one {
  10. width: 100px;
  11. height: 100px;
  12. padding: 20px;
  13. position: absolute;
  14. top: 20px;
  15. left: 10px;
  16. }
  17. /*文字*/
  18. .two {
  19. width: 400px;
  20. height: 500px;
  21. padding: 30px;
  22. position: absolute;
  23. top: 22%;
  24. left: 15%;
  25. color: aliceblue;
  26. }
  27. .three {
  28. font-size: 20px;
  29. height: 65px;
  30. color:#3f87a6;
  31. }
  32. .fourth {
  33. font-size: 27px;
  34. font-family: Georgia, 'Times New Roman', Times, serif;
  35. color:#B47879;
  36. }
  37. .fourth1 {
  38. width: 400px;
  39. height: 500px;
  40. padding: 30px;
  41. position: absolute;
  42. top: 50px;
  43. left: 2%;
  44. color: black;
  45. }
  46. .four1 {
  47. left: 70%;
  48. }
  49. .one1 {
  50. background-color: beige;
  51. width: 358px;
  52. height: 350px;
  53. padding: 50px;
  54. position: absolute;
  55. top: 19%;
  56. left: 60%;
  57. /*左上角*/
  58. border-top-left-radius: 25px;
  59. /*右上角*/
  60. border-top-right-radius: 25px;
  61. /*左下角*/
  62. border-bottom-right-radius: 25px;
  63. /*右下角*/
  64. border-bottom-left-radius: 25px;
  65. }
  66. .box {
  67. position: relative;
  68. width: 200px;
  69. border-bottom: 1px solid #B47879;
  70. margin: 30px auto;
  71. }
  72. .box input {
  73. width: 200px;
  74. height: 40px;
  75. border: 0;
  76. /* 取消蓝色边框 */
  77. outline: none;
  78. }
  79. .box img {
  80. position: absolute;
  81. top: 12px;
  82. right: 2px;
  83. width: 24px;
  84. }
  85. .btn {
  86. text-align: center;
  87. padding: 10px;
  88. width: 50%;
  89. margin-top: 10px;
  90. /*彩色背景*/
  91. background: linear-gradient(0.25turn, #3f87a6, #ebf8e1, #f69d3c);
  92. position: absolute;
  93. top: 50%;
  94. left: 26%;
  95. font-family: Georgia, 'Times New Roman', Times, serif;
  96. font-weight: 300px;
  97. /*左上角*/
  98. border-top-left-radius: 25px;
  99. /*右上角*/
  100. border-top-right-radius: 25px;
  101. /*左下角*/
  102. border-bottom-right-radius: 25px;
  103. /*右下角*/
  104. border-bottom-left-radius: 25px;
  105. }
  106. .fourth2 {
  107. width: 400px;
  108. height: 500px;
  109. padding: 30px;
  110. position: absolute;
  111. top: -1.9vh;
  112. left: 3px;
  113. color: black;
  114. }
  115. .three4 {
  116. height: 20px;
  117. font-family: Georgia, 'Times New Roman', Times, serif;
  118. }
  119. /*登录*/
  120. .fh {
  121. padding: 30px;
  122. position: absolute;
  123. top: 1px;
  124. left: 12%;
  125. color: black;
  126. font-size: 10px;
  127. padding: 25px;
  128. }
  129. .th {
  130. height: 20px;
  131. width: 50%;
  132. }
  133. .th1 {
  134. color: aqua;
  135. padding: 5px;
  136. position: absolute;
  137. bottom: 10px;
  138. left: 10px;
  139. }
  140. </style>
  141. <script>
  142. function displayDate() {
  143. document.getElementById("demo").innerHTML = Date();
  144. }
  145. </script>
  146. </head>
  147. <body background="20220811005.jpeg" style="background-size: 100%;">
  148. <div class="one">
  149. <!--position固定值位置-->
  150. <img title="商标" src="标志.jpg" width="50" height="50" style="float:left; position: fixed;">
  151. </div>
  152. <div class="two">
  153. <div class="three">
  154. <h1 style="margin-bottom: 10px;">火焰卫士消防宣传</h1>
  155. </div>
  156. <div class="fourth">
  157. <p style="margin-top: 20px;">
  158. 消防工作,人人有责
  159. </p>
  160. </div>
  161. </div>
  162. <div class="one1">
  163. <div class="fourth2">
  164. <div class="three4" style="margin: 3px;">
  165. <h1 style="margin-bottom: 3px;">欢迎注册</h1>
  166. </div>
  167. <h6 style="margin-top: 20px;">已用账号?
  168. </h6>
  169. </div>
  170. <div class="fourth1">
  171. <div class="th">
  172. <div class="fh">
  173. <a href="登入界面.html" style="padding-left: 13px;text-decoration: none;">登录</a>
  174. </div>
  175. </div>
  176. <form>
  177. <div class="box">
  178. <input type="text" name="" placeholder="名字" id="pwd" style="background: beige;">
  179. </div>
  180. <div class="box">
  181. <input type="text" name="" placeholder="邮箱或手机号" id="pwd" style="background: beige;">
  182. </div>
  183. <div class="box">
  184. <input type="password" name="" placeholder="密码" id="pwd" style="background: beige;">
  185. </div>
  186. <a href="草稿.html"><button type="button" onclick="alert('别点了还是什么也没有写!')"
  187. style="border: 10px; background-color:transparent;;padding: 6px;"><input type="submit"
  188. value="注册" class="btn" text="black" style="color: black;border: 0px;"></button></a>
  189. </div>
  190. </div>
  191. </form>
  192. <div class="th1">
  193. <p id="demo">这里可以点击显示日历和时间</p>
  194. <button type="button" onclick="displayDate()"
  195. style="background-color: transparent;border: 0px;color:aqua;padding: 0px;">显示日期</button>
  196. </div>
  197. </body>
  198. </html>