An interactive experience form page implemented by JS + CSS

Source: Internet
Author: User

<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Strict // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <ptml xmlns = "http://www.w3.org/1999/xhtml"> <pead> <meta http-equiv =" content-Type "content =" text/html; charset = gb2312 "/> <title> An interactive experience implemented by JS + CSS </title> <style> @ charset" gb2312 "; /* initial element value */html {background: # FFF;} body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockqu Ote, th, td, ins, hr {margin: 0px; padding: 0px;} p {cursor: text;} h1, h2, h3, h4, h5, h6 {font-size: 100%;} ol, ul {list-style-type: none;} address, caption, cite, code, dfn, em, th, var {font-style: normal; font-weight: normal;} table {border-collapse: collapse;} fieldset, img {border: 0;} img {display: block ;} caption, th {text-align: left;} body {position: relative; font-size: 62.5%; font-family: ""} a {text-decoration: none ;} /* de The element value used by mo */# need {margin: 20px auto 0; width: 610px;} # need li {height: 26px; width: 600px; font: 12px/26px Arial, helvetica, sans-serif; background: # FFD; border-bottom: 1px dashed # E0E0E0; display: block; cursor: text; padding: 7px 0px 7px 10px! Important; padding: 5px 0px 5px 10px;} # need li: hover, # need li. hover {background: # FFE8E8 ;}# need input {line-height: 14px; background: # FFF; height: 14px; width: 200px; border: 1px solid # E0E0E0; vertical-align: middle; padding: 6px;} # need label {padding-left: 30px;} # need label. old_password {background-position: 0-277px;} # need label. new_password {background-position: 0-1576px;} # need label. rePasswor D {background-position: 0-1638px;} # need label. email {background-position: 0-429px;} # need dfn {display: none;} # need li: hover dfn, # need li. hover dfn {display: inline; margin-left: 7px; color: #676767 ;} </style> </pead> <body> <ol id = "need"> <li> <label class = "old_password"> original password: </label> <input name = ''type = 'Password' id =''/> </li> <label class = "new_password"> new password: </label> <input name = ''type =' Password 'id = '/> <dfn> (the password length is 6 ~ 20 bytes. Leave it blank without modification) </dfn> </li> <label class = "rePassword"> duplicate password: </label> <input name = ''type = 'Password' id =''/> </li> <label class = "email"> mailbox settings: </label> <input name = ''type = 'text' id =''/> <dfn> (we will not send you any spam .) </Dfn> </li> </ol> </body> </ptml>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.