CSS3用户登录表单特效代码下载


CSS3用户登录表单特效代码下载
CSS3用户登录表单特效代码下载以及用户登录表单等js/jquery网页特效代码下载。

1. 引入CSS

<link rel="stylesheet" href="css/style.css">

2. HTML代码

<form method="get" action="javascript: void(0);" id="login-form" class="login-form" autocomplete="off" role="main">
  <h1 class="a11y-hidden">登录表单</h1>
  <div>
    <label class="label-email">
      <input type="email" class="text" name="email" placeholder="邮箱" tabindex="1" required />
      <span class="required">邮箱</span>
    </label>
  </div>
  <input type="checkbox" name="show-password" class="show-password a11y-hidden" id="show-password" tabindex="3" />
  <label class="label-show-password" for="show-password">
    <span>记住密码?</span>
  </label>
  <div>
    <label class="label-password">
      <input type="text" class="text" name="password" placeholder="密码" tabindex="2" required />
      <span class="required">密码</span>
    </label>
  </div>
  <input type="submit" value="登录" />
  <div class="email">
    <a href="#">忘记密码?</a>
  </div>
  <figure aria-hidden="true">
    <div class="person-body"></div>
    <div class="neck skin"></div>
    <div class="head skin">
      <div class="eyes"></div>
      <div class="mouth"></div>
    </div>
    <div class="hair"></div>
    <div class="ears"></div>
    <div class="shirt-1"></div>
    <div class="shirt-2"></div>
  </figure>
</form>

相关推荐

发表评论

相关文章