“Widget:欢迎”与“Widget:用户测试邀请信”:页面之间的差异
imported>=海豚= 无编辑摘要 |
imported>=海豚= (创建页面,内容为“<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…”) |
||
第1行: | 第1行: | ||
< | <html lang="Zh-CN"> | ||
<head> | |||
<meta charset="utf-8"> | |||
<title>13-SendMessage</title> | |||
<link rel="stylesheet" href="css/style.css"> | |||
</head> | |||
<body> | |||
<div id="wrap"> | |||
<h1>SEND A MESSAGE</h1> | |||
<br><br><br> | |||
<div id="form-wrap"> | |||
<form> | |||
<p>HELLO JOE,</p> | |||
<label for="email">Your Message:</label> | |||
<textarea name="message" id="message" value="Your Message"></textarea> | |||
<p>BEST,</p> | |||
<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> | |||
</div> | |||
</div> | |||
</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; | |||
} | } | ||
#wrap{ | |||
width: 530px; | |||
margin: 20px auto 0; | |||
height: 1000px; | |||
} | } | ||
h1{ | |||
margin-bottom: 20px; | |||
text-align: center; | |||
font-size: 35px; | |||
font-family: tahoma; | |||
color: black; | |||
} | } | ||
#form-wrap{ | |||
overflow: hidden; | |||
height: 447px; | |||
position: relative; | |||
top: 0px; | |||
transition: all 1s ease-in-out .3s; | |||
} | } | ||
#form-wrap:before{ | |||
content: ""; | |||
position: absolute; | |||
bottom: 128px; | |||
left: 0px; | |||
background: url('../img/before.png'); | |||
width: 530px; | |||
height: 317px; | |||
} | } | ||
. | #form-wrap:after{ | ||
content: ""; | |||
position: absolute; | |||
bottom: 0px; | |||
left: 0; | |||
background: url('../img/after.png'); | |||
width: 530px; | |||
height: 259px; | |||
} | } | ||
. | #form-wrap.hide:after, | ||
. | #form-wrap.hide:before{ | ||
display: none; | |||
} | } | ||
#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; | |||
} | } | ||
#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'); | |||
} | } | ||
#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; | |||
} | } | ||
#form-wrap:hover input[type=submit]{ | |||
z-index: 1; | |||
opacity: 1; | |||
transition: opacity 0.5s ease-in-out 1.3s; | |||
} | } | ||
</style> | </style> | ||
< | </includeonly> | ||
</html> |
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>
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; }
- wrap{
width: 530px; margin: 20px auto 0; height: 1000px; } h1{ margin-bottom: 20px; text-align: center; font-size: 35px; font-family: tahoma; color: black; }
- form-wrap{
overflow: hidden; height: 447px; position: relative; top: 0px; transition: all 1s ease-in-out .3s; }
- form-wrap:before{
content: ""; position: absolute; bottom: 128px; left: 0px; background: url('../img/before.png'); width: 530px; height: 317px; }
- form-wrap:after{
content: ""; position: absolute; bottom: 0px; left: 0; background: url('../img/after.png'); width: 530px; height: 259px; }
- form-wrap.hide:after,
- form-wrap.hide:before{
display: none; }
- 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; }
- 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'); }
- 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; }
- form-wrap:hover input[type=submit]{
z-index: 1; opacity: 1; transition: opacity 0.5s ease-in-out 1.3s; } </style> </includeonly> </html>