HTML5
<div class="b c d e f"> <div class="g"> <div id="viewport"> <div class="h i" id="header"> <table cellspacing="0" cellpadding="0" class="j"> <tr> <td valign="middle"> <h1><img src="https://static.xx.fbcdn.net/rsrc.php/v3/y8/r/k97pj8-or6s.png" width="77" height="16" class="k" alt="facebook" /></h1> </td> <td valign="middle" class="l"><a class="m n o p" href="/reg/?cid=102&refid=8" style="background-color:#69a74e;color:white;"><span class="q">Tạo tài khoản</span></a> </td> </tr> </table> </div> <div id="objects_container"> <div class="f" id="root" role="main"> <table class="s" role="presentation"> <tbody> <tr> <td class="t"> <div class="u v w" style="display: none;"> <div class="x"></div> </div> <div> <div class="y z"> <div></div> <form method="post" class="ba" id="login_form" novalidate="1" action="https://m.facebook.com/login.php?refsrc=https%3A%2F%2Fm.facebook.com%2Fhaivl.com%2Fphotos%2Fa.384077014974098.86259.383923618322771%2F1988681994513584%2F&lwv=100&login_try_number=1&refid=8"> <input type="hidden" name="lsd" value="AVrQCoSQ" autocomplete="off" /> <input type="hidden" name="version" value="1" /> <input type="hidden" id="ajax" name="ajax" value="0" /> <input type="hidden" id="width" name="width" value="0" /> <input type="hidden" id="pxr" name="pxr" value="0" /> <input type="hidden" id="gps" name="gps" value="0" /> <input type="hidden" id="dimensions" name="dimensions" value="0" /> <input type="hidden" name="m_ts" value="1486467491" /> <input type="hidden" name="li" value="o7GZWNFhbG2ahGAuPIBjNZQt" /> <ul class="bb bc bd"> <li class="bc"> <h3 class="be bf bg">Email hoặc số điện thoại</h3> <input autocorrect="off" autocapitalize="off" class="bh bi bj" name="email" value="" type="text" /> </li> <li class="bc"> <div> <h3 class="be bf bg">Mật khẩu</h3> <input autocorrect="off" autocapitalize="off" class="bh bi bk bl" name="pass" type="password" /> </div> </li> <li class="bc"> <input value="Đăng nhập" type="submit" name="login" class="m n bm bn bo" /> </li> </ul> <div></div> <noscript> <input type="hidden" name="_fb_noscript" value="true" /> </noscript> </form> <div class="bp"><span class="bq">hoặc</span> </div> <div class="br bs"> <div class="br bt" id="signup-button"><a class="m n bu" href="/reg/?cid=103&refid=8" style=" background-color:#69a74e; color:white; height:44px;"><span class="q">Tạo tài khoản mới</span></a> </div> </div> </div> </div> </td> </tr> </tbody> </table> <div></div> </div> </div> <div></div> </div> </div> </div>
CSS
.b .bj { border: solid 1px #999; box-sizing: border-box; width: 100%; } .b .bt { display: block; width: auto; } .b .bp { display: block; margin-bottom: 5px; margin-left: 3%; margin-top: -3px; overflow: hidden; text-align: center; white-space: nowrap; width: 94%; } .b .bp>span { display: inline-block; position: relative; } .b .bp>span:before, .b .bp>span:after { background: #ced0d4; content: ""; height: 1px; position: absolute; top: 50%; width: 9999px; } .b .bp>span:before { margin-right: 15px; right: 100%; } .b .bp>span:after { left: 100%; margin-left: 15px; } .b .bq { color: #4b4f56; font-size: 14px; } .v { padding: 8px; } .bw { padding-bottom: 12px; padding-top: 12px; } .bv { padding-left: 4px; padding-right: 4px; } .bs { padding-left: 8px; padding-right: 8px; } .bg { padding-bottom: 4px; } .b .s { border: 0; border-collapse: collapse; margin: 0; padding: 0; width: 100%; } .b .s tbody { vertical-align: top; } .b .s td { padding: 0; } .b .s td.bc { padding: 4px; } .b .t { width: 100%; } .u { background: #fa3e3e; } .w { color: #fff; } .b .w a, .b .w a:visited { color: #fff; font-weight: bold; } .b .w a:focus, .b .w a:hover { background: #1d2129; } .by { color: #4b4f56; } .x { font-size: 12px; line-height: 16px; } .bx { font-size: 16px; line-height: 20px; } .be { font-weight: bold; } .br { text-align: center; } form { margin: 0; border: 0; } .bb { margin: 0; } .bb li { display: block; list-style: none; } .b .bz { padding: 0; } .b .bc { padding: 4px; } .b .bf { color: #90949c; font-weight: bold; } .b .bi { padding: 12px 8px; color: #1d2129; } .bh { border: 0; display: block; margin: 0; padding: 0; } .bk { box-sizing: border-box; width: 100%; } .b .bl { border: solid 1px #999; } .b a, .b a:visited { color: #3b5998; text-decoration: none; } .b a:focus, .b a:hover { background-color: #3b5998; color: #fff; } .n { -webkit-appearance: none; background: none; display: inline-block; font-size: 12px; height: 28px; line-height: 28px; margin: 0; overflow: visible; padding: 0 9px; text-align: center; vertical-align: top; white-space: nowrap; } .b .n { border-radius: 2px; } .bu, a.bu, .b a.bu, .b a.bu:visited { background-color: #f6f7f9; color: #4b4f56; } .b a.bu:hover, .b .bu:hover { background-color: #e9ebee; color: #4b4f56; } .b .bu { border: 1px solid #bec2c9; } .bu[disabled] { color: #bec2c9; } .b .bu[disabled]:hover { background-color: #f6f7f9; color: #bec2c9; } .bo, .p, a.bo, a.p, html .b a.bo, html .b a.p { color: #fff; } .b .p { background-color: #4080ff; border: 1px solid #4476e8; } .b a.p:hover, .b .p:hover { background-color: #4580ef; } .b .bo { background-color: #4267b2; border: 1px solid #365899; } .b a.bo:hover, .b .bo:hover { background-color: #465e91; } .bo[disabled] { color: #899bc1; } .p[disabled] { color: #91b4fd; } .b .bo[disabled]:hover { background-color: #4267b2; } .b .p[disabled]:hover { background-color: #4080ff; } .bn { font-size: 14px; height: 44px; line-height: 44px; padding: 0 20px; } .n .q { display: inline-block; } .b .n .q { display: inline-block; margin-top: 0; vertical-align: middle; } .b a.n::after { content: ""; display: inline-block; height: 100%; vertical-align: middle; } .n .q { line-height: 20px; margin-top: 4px; } .bn .q { line-height: 24px; margin-top: 10px; } .n.bm { display: block; width: 100%; } a.n.bm, .b label.n.bm { display: block; width: auto; } .b .n { padding: 0 8px; } .b a.n { height: 26px; line-height: 26px; } .b .bn { padding: 0 19px; } .b a.bn { font-size: 14px; height: 42px; line-height: 42px; } .q { pointer-events: none; } body { text-align: left; direction: ltr; } body, tr, input, textarea, button { font-family: sans-serif; } body, p, figure, h1, h2, h3, h4, h5, h6, ul, ol, li, dl, dd, dt { margin: 0; padding: 0; } h1, h2, h3, h4, h5, h6 { font-size: 1em; font-weight: bold; } ul, ol { list-style: none; } article, aside, figcaption, figure, footer, header, nav, section { display: block; } .d #viewport { margin: 0 auto; max-width: 600px; } .f { background-color: #fff; } .h { background-color: #3b5998; } .y { background-color: #eceff5; } #page { position: relative; } .b .o span { font-size: 14px; } .i { padding: 2px 3px; } .j { width: 100%; } .j .l { text-align: right; } .k { border: 0; display: inline-block; vertical-align: top; } i.k u { position: absolute; width: 0; height: 0; overflow: hidden; } body, tr, input, textarea, .g { font-size: medium; }
:apl: