Widget:用户测试邀请信

H萌娘,万物皆可H的百科全书!
imported>=海豚=2021年8月13日 (五) 20:41的版本 (创建页面,内容为“<html lang="Zh-CN"> <head> <meta charset="utf-8"> <title>13-SendMessage</title> <link rel="stylesheet" href="css/style.css"> </head> <body> <div id="wr…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航 跳到搜索

<html lang="Zh-CN"> <head> <meta charset="utf-8">

   <title>13-SendMessage</title>
   <link rel="stylesheet" href="css/style.css">
 </head>
 <body>

SEND A MESSAGE




<form>

HELLO JOE,

<label for="email">Your Message:</label> <textarea name="message" id="message" value="Your Message"></textarea>

BEST,

<label for="name">Name:</label> <input type="text" name="name" value="" id="name" />

<label for="email">Email:</label> <input type="text" name="email" value="" id="email" />

<input type="submit" name="submit" value="NOW, I SEND THANKS!" /> </form>

 </body>

<style> body, div, h1, h2, form, fieldset, input, textarea, footer, p{ margin: 0; padding: 0; border: 0; outline: none; } body{ background: #F5F5F5; color: gray; font-family: tahoma; } p{ font-family: tahoma; font-size: 24px; color: #757575; }

  1. wrap{

width: 530px; margin: 20px auto 0; height: 1000px; } h1{ margin-bottom: 20px; text-align: center; font-size: 35px; font-family: tahoma; color: black; }

  1. form-wrap{

overflow: hidden; height: 447px; position: relative; top: 0px; transition: all 1s ease-in-out .3s; }

  1. form-wrap:before{

content: ""; position: absolute; bottom: 128px; left: 0px; background: url('../img/before.png'); width: 530px; height: 317px; }

  1. form-wrap:after{

content: ""; position: absolute; bottom: 0px; left: 0; background: url('../img/after.png'); width: 530px; height: 259px; }

  1. form-wrap.hide:after,
  2. form-wrap.hide:before{

display: none; }

  1. form-wrap:hover{

height: 777px; top: -200px; } form{ background: url('../img/letter_bg.png'); position: relative; top: 200px; overflow: hidden; height: 200px; width: 400px; margin: 0px auto; padding: 20px; border: 1px solid white; border-right: 3px; transition: all 1s ease-in-out .3s; }

  1. form-wrap:hover form{

height: 530px; } lable{ margin: 11px 20px 0 0; font-size: 15px; color: gray; text-transform: uppercase; } input[type=text], textarea{ font: 14px normal uppercase, arial, serif; color: dimgray; background: none; width: 380px; height: 37px; padding: 0px 10px; margin: 0 0 10px 0; border: 1px solid #BDBDBD; border-radius: 5px; } textarea{ height: 80px; padding-top: 14px; } textarea:focus, input[type=text]:focus{ background: url('../img/letter_bg.png'); }

  1. form-wrap input[type=submit]{

position: relative; font-family: tahoma; font-size: 24px; color: gray; width: 300px; text-align: center; opacity: 0; background: none; cursor: pointer; border-radius: 3px; transition: opacity 0.7s ease-in-out 0s; }

  1. form-wrap:hover input[type=submit]{

z-index: 1; opacity: 1; transition: opacity 0.5s ease-in-out 1.3s; } </style> </includeonly> </html>