中文字幕一区二区三区在线中文-日本中文字幕 在线观看-欧美日韩国产亚洲综合-性色AV一二三天美传媒

廣州總部電話:020-85564311
廣州總部電話:020-85564311
20年
互聯(lián)網(wǎng)應用服務商
請輸入搜索關鍵詞
知識庫 知識庫

優(yōu)網(wǎng)知識庫

探索行業(yè)前沿,共享知識寶庫

好看的滑動登陸注冊頁 | 特效源碼

發(fā)布日期:2024-10-25 11:30:04 瀏覽次數(shù): 2907 來源:前端資源推薦

<!DOCTYPE html>
<html lang="zh">
 <head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title></title>
 </head>
 <style>
  /* body{display:flex;justify-content:center;margin-top:300px;background-color:#212121;} */
  @import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400|Lora");
  body {
   background#CBC0D3;
  }
  .container {
   margin100px auto 0;
   width650px;
   height550px;
   position: relative;
  }
  .welcome {
   background#f6f6f6;
   width650px;
   height415px;
   position: absolute;
   top25%;
   border-radius5px;
   box-shadow5px 5px 5px rgba(0000.1);
  }
  .pinkbox {
   position: absolute;
   top: -10%;
   left5%;
   background#EAC7CC;
   width320px;
   height500px;
   border-radius5px;
   box-shadow2px 0 10px rgba(0000.1);
   transition: all .5s ease-in-out;
   z-index2;
  }
  .nodisplay {
   display: none;
   transition: all .5s ease;
  }
  .leftbox.rightbox {
   position: absolute;
   width50%;
   transition1s all ease;
  }
  .leftbox {
   left: -2%;
  }
  .rightbox {
   right: -2%;
  }
  h1 {
   font-family"Open Sans", sans-serif;
   text-align: center;
   margin-top95px;
   text-transform: uppercase;
   color#f6f6f6;
   font-size2em;
   letter-spacing8px;
  }
  .title {
   font-family"Lora", serif;
   color#8E9AAF;
   font-size1.8em;
   line-height1.1em;
   letter-spacing3px;
   text-align: center;
   font-weight300;
   margin-top20%;
  }
  .desc {
   margin-top: -8px;
  }
  .account {
   margin-top45%;
   font-size10px;
  }
  p {
   font-family"Open Sans", sans-serif;
   font-size: .7em;
   letter-spacing2px;
   color#8E9AAF;
   text-align: center;
  }
  span {
   color#EAC7CC;
  }
  .flower {
   position: absolute;
   width120px;
   height120px;
   top46%;
   left29%;
   opacity: .7;
  }
  .smaller {
   width90px;
   height100px;
   top48%;
   left38%;
   opacity: .9;
  }
  button {
   padding12px;
   font-family"Open Sans", sans-serif;
   text-transform: uppercase;
   letter-spacing3px;
   font-size11px;
   border-radius10px;
   margin: auto;
   outline: none;
   display: block;
  }
  button:hover {
   background#EAC7CC;
   color#f6f6f6;
   transition: background-color 1s ease-out;
  }
  .button {
   margin-top3%;
   background#f6f6f6;
   color#ce7d88;
   border: solid 1px #EAC7CC;
  }
  form {
   display: flex;
   align-items: center;
   flex-direction: column;
   padding-top7px;
  }
  .more-padding {
   padding-top35px;
  }
  .more-padding input {
   padding12px;
  }
  .more-padding .submit {
   margin-top45px;
  }
  .submit {
   margin-top25px;
   padding12px;
   border-color#ce7d88;
  }
  .submit:hover {
   background#CBC0D3;
   border-color#bfb1c9;
  }
  input {
   background#EAC7CC;
   width65%;
   color#ce7d88;
   border: none;
   border-bottom1px solid rgba(2462462460.5);
   padding9px;
   margin7px;
  }
  input::placeholder {
   color#f6f6f6;
   letter-spacing2px;
   font-size1.3em;
   font-weight100;
  }
  input:focus {
   color#ce7d88;
   outline: none;
   border-bottom1.2px solid rgba(2061251360.7);
   font-size1em;
   transition: .8s all ease;
  }
  input:focus::placeholder {
   opacity0;
  }
  label {
   font-family"Open Sans", sans-serif;
   color#ce7d88;
   font-size0.8em;
   letter-spacing1px;
  }
  .checkbox {
   display: inline;
   white-space: nowrap;
   position: relative;
   left: -62px;
   top5px;
  }
  input[type=checkbox] {
   width7px;
   background#ce7d88;
  }
  .checkbox input[type="checkbox"]:checked + label {
   color#ce7d88;
   transition: .5s all ease;
  }
 
</style>
 <body>
  <div class="container">
    <div class="welcome">
      <div class="pinkbox">
        <div class="signup nodisplay">
          <h1>register</h1>
          <form autocomplete="off">
            <input type="text" placeholder="username">
            <input type="email" placeholder="email">
            <input type="password" placeholder="password">
            <input type="password" placeholder="confirm password">
            <button class="button submit">create account </button>
          </form>
        </div>
        <div class="signin">
          <h1>sign in</h1>
          <form class="more-padding" autocomplete="off">
            <input type="text" placeholder="username">
            <input type="password" placeholder="password">
            <div class="checkbox">
              <input type="checkbox" id="remember" /><label for="remember">remember me</label>
            </div>
  
            <button class="button submit">login</button>
          </form>
        </div>
      </div>
      <div class="leftbox">
        <h2 class="title"><span>BLOOM</span>&<br>BOUQUET</h2>
        <p class="desc">pick your perfect <span>bouquet</span></p>
        <img class="flower smaller" src="https://image.ibb.co/d5X6pn/1357d638624297b.jpg" alt="1357d638624297b" border="0">
        <p class="account">have an account?</p>
        <button class="button" id="signin">login</button>
      </div>
      <div class="rightbox">
        <h2 class="title"><span>BLOOM</span>&<br>BOUQUET</h2>
        <p class="desc"> pick your perfect <span>bouquet</span></p>
        <img class="flower" src="https://preview.ibb.co/jvu2Un/0057c1c1bab51a0.jpg"/>
        <p class="account">don't have an account?</p>
        <button class="button" id="signup">sign up</button>
      </div>
    </div>
   </div>
  </div>
 </body>
 <script src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/3.5.1/jquery.min.js" type="application/javascript"></script>
 <script>
  $('#signup').click(function({
    $('.pinkbox').css('transform''translateX(80%)');
    $('.signin').addClass('nodisplay');
    $('.signup').removeClass('nodisplay');
  }); 
  $('#signin').click(function({
    $('.pinkbox').css('transform''translateX(0%)');
    $('.signup').addClass('nodisplay');
    $('.signin').removeClass('nodisplay');
  });
 
</script>
</html>

優(yōu)網(wǎng)科技,優(yōu)秀企業(yè)首選的互聯(lián)網(wǎng)供應服務商

優(yōu)網(wǎng)科技秉承"專業(yè)團隊、品質(zhì)服務" 的經(jīng)營理念,誠信務實的服務了近萬家客戶,成為眾多世界500強、集團和上市公司的長期合作伙伴!

優(yōu)網(wǎng)科技成立于2001年,擅長網(wǎng)站建設、網(wǎng)站與各類業(yè)務系統(tǒng)深度整合,致力于提供完善的企業(yè)互聯(lián)網(wǎng)解決方案。優(yōu)網(wǎng)科技提供PC端網(wǎng)站建設(品牌展示型、官方門戶型、營銷商務型、電子商務型、信息門戶型、微信小程序定制開發(fā)、移動端應用(手機站、APP開發(fā))、微信定制開發(fā)(微信官網(wǎng)、微信商城、企業(yè)微信)等一系列互聯(lián)網(wǎng)應用服務。


我要投稿

姓名

文章鏈接

提交即表示你已閱讀并同意《個人信息保護聲明》

專屬顧問 專屬顧問
掃碼咨詢您的優(yōu)網(wǎng)專屬顧問!
專屬顧問
馬上咨詢
掃一掃馬上咨詢
掃一掃馬上咨詢

掃一掃馬上咨詢