123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- <html>
- <head>
- <!--这是标题名字-->
- <title>Mandy_davi</title>
-
- <!--这是标题图片-->
- <link href="标题图片.png" rel="icon">
- <style type="text/css">
- /*图片*/
- .one {
- width: 100px;
- height: 100px;
- padding: 20px;
- position: absolute;
- top: 20px;
- left: 10px;
- }
- /*文字*/
- .two {
- width: 400px;
- height: 500px;
- padding: 30px;
- position: absolute;
- top: 22%;
- left: 15%;
- color: aliceblue;
- }
-
- .three {
- font-size: 20px;
- height: 65px;
- color:#3f87a6;
- }
- .fourth {
- font-size: 27px;
- font-family: Georgia, 'Times New Roman', Times, serif;
- color:#B47879;
- }
- .fourth1 {
- width: 400px;
- height: 500px;
- padding: 30px;
- position: absolute;
- top: 50px;
- left: 2%;
- color: black;
- }
- .four1 {
- left: 70%;
- }
- .one1 {
- background-color: beige;
- width: 358px;
- height: 350px;
- padding: 50px;
- position: absolute;
- top: 19%;
- left: 60%;
- /*左上角*/
- border-top-left-radius: 25px;
- /*右上角*/
- border-top-right-radius: 25px;
- /*左下角*/
- border-bottom-right-radius: 25px;
- /*右下角*/
- border-bottom-left-radius: 25px;
- }
- .box {
- position: relative;
- width: 200px;
- border-bottom: 1px solid #B47879;
- margin: 30px auto;
- }
- .box input {
- width: 200px;
- height: 40px;
- border: 0;
- /* 取消蓝色边框 */
- outline: none;
- }
- .box img {
- position: absolute;
- top: 12px;
- right: 2px;
- width: 24px;
- }
- .btn {
- text-align: center;
- padding: 10px;
- width: 50%;
- margin-top: 10px;
- /*彩色背景*/
- background: linear-gradient(0.25turn, #3f87a6, #ebf8e1, #f69d3c);
- position: absolute;
- top: 50%;
- left: 26%;
- font-family: Georgia, 'Times New Roman', Times, serif;
- font-weight: 300px;
- /*左上角*/
- border-top-left-radius: 25px;
- /*右上角*/
- border-top-right-radius: 25px;
- /*左下角*/
- border-bottom-right-radius: 25px;
- /*右下角*/
- border-bottom-left-radius: 25px;
- }
- .fourth2 {
- width: 400px;
- height: 500px;
- padding: 30px;
- position: absolute;
- top: -1.9vh;
- left: 3px;
- color: black;
- }
- .three4 {
- height: 20px;
- font-family: Georgia, 'Times New Roman', Times, serif;
- }
- /*登录*/
- .fh {
- padding: 30px;
- position: absolute;
- top: 1px;
- left: 12%;
- color: black;
- font-size: 10px;
- padding: 25px;
- }
- .th {
- height: 20px;
- width: 50%;
- }
- .th1 {
- color: aqua;
- padding: 5px;
- position: absolute;
- bottom: 10px;
- left: 10px;
- }
- </style>
- <script>
- function displayDate() {
- document.getElementById("demo").innerHTML = Date();
- }
- </script>
- </head>
- <body background="20220811005.jpeg" style="background-size: 100%;">
- <div class="one">
- <!--position固定值位置-->
- <img title="商标" src="标志.jpg" width="50" height="50" style="float:left; position: fixed;">
- </div>
- <div class="two">
- <div class="three">
- <h1 style="margin-bottom: 10px;">火焰卫士消防宣传</h1>
- </div>
- <div class="fourth">
- <p style="margin-top: 20px;">
- 消防工作,人人有责
- </p>
- </div>
- </div>
- <div class="one1">
- <div class="fourth2">
- <div class="three4" style="margin: 3px;">
- <h1 style="margin-bottom: 3px;">欢迎注册</h1>
- </div>
- <h6 style="margin-top: 20px;">已用账号?
- </h6>
- </div>
- <div class="fourth1">
- <div class="th">
- <div class="fh">
- <a href="登入界面.html" style="padding-left: 13px;text-decoration: none;">登录</a>
- </div>
- </div>
- <form>
- <div class="box">
- <input type="text" name="" placeholder="名字" id="pwd" style="background: beige;">
- </div>
- <div class="box">
- <input type="text" name="" placeholder="邮箱或手机号" id="pwd" style="background: beige;">
- </div>
- <div class="box">
- <input type="password" name="" placeholder="密码" id="pwd" style="background: beige;">
- </div>
- <a href="草稿.html"><button type="button" onclick="alert('别点了还是什么也没有写!')"
- style="border: 10px; background-color:transparent;;padding: 6px;"><input type="submit"
- value="注册" class="btn" text="black" style="color: black;border: 0px;"></button></a>
- </div>
- </div>
- </form>
- <div class="th1">
- <p id="demo">这里可以点击显示日历和时间</p>
- <button type="button" onclick="displayDate()"
- style="background-color: transparent;border: 0px;color:aqua;padding: 0px;">显示日期</button>
- </div>
- </body>
- </html>
|