Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <html lang="en" dir="ltr">

<head>
  <meta charset="utf-8">
  <title></title>
  <link rel="stylesheet" href="styles.css">
  <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
  <script defer src="https://use.fontawesome.com/releases/v5.0.9/js/all.js" integrity="sha384-8iPTk2s/jMVj81dnzb/iFR2sdA7u06vHJyyLlAd4snFpCl/SnyUjRrbdJsw1pGIl" crossorigin="anonymous"></script>
</head>

<body>
  <!-- DESKTOP VERSION -->
  <div class="lef-haf">
    <p class="items"><i class="fas fa-search icons"></i>Follow your interests.</p>
    <p class="items"><i class="fas fa-users icons"></i>Hear What people are talking about.</p>
    <p class="items"><i class="far fa-comment icons"></i>Join the conversation.</p>
  </div>
  <div class="rit-haf">
    <div class="">
      <input type="email" name="" value="" class="log-email" placeholder="Phone, email, or username">


      <input type="password" name="" value="" class="log-email" placeholder="Password">

      <button type="button" name="button" class="button">Login</button>
      <a href="">
        <p style="margin-left: 200px;" class="forgot">Forgot Password?</p>
      </a>
      <i class="fab fa-twitter"></i>
      <h2 style="margin-left: 20px;">See what’s happening in <br> the world right now</h2>
      <h3 style="margin-left: 20px;">Join Twitter Today</h3>

      <input type="email" name="" value="" class="log-email other-sign-in" placeholder="Phone or email" required><br>

      <input type="password" name="" value="" class="log-email other-sign-in" placeholder="Password" required>
      <div class="bt-and-p">
        <button type="button" name="button" class="button-2">Get Started</button>

        <p class="log-p">Have an account? <a href="">Log in</a></p>
      </div>
    </div>
  </div>



  <footer class="only-footer">
    <a class="a-footer" href=""><p>About</p></a>
    <a class="a-footer" href=""><p>Help Center</p></a>
    <a class="a-footer" href=""><p>Blog</p></a>
    <a class="a-footer" href=""><p>Status</p></a>
    <a class="a-footer" href=""><p>Jobs</p></a>
    <a class="a-footer" href=""><p>Terms</p></a>
    <a class="a-footer" href=""><p>Privacy Policy</p></a>
    <a class="a-footer" href=""><p>Cookies</p></a>
    <a class="a-footer" href=""><p>Ads info</p></a>
    <a class="a-footer" href=""><p>Brand</p></a>
    <a class="a-footer" href=""><p>Apps</p></a>
    <a class="a-footer" href=""><p>Advertise</p></a>
    <a class="a-footer" href=""><p>Marketing</p></a>
    <a class="a-footer" href=""><p>Business</p></a>
    <a class="a-footer" href=""><p>Developers</p></a>
    <a class="a-footer" href=""><p>Directory</p></a>
    <a class="a-footer" href=""><p>Settings</p></a>
    <p>© 2018 Twitter</p>

  </footer>
<!--/ DESKTOP VERSION -->










<!--MOBILE-->
  <!-- <div class="mobile mobile-top-haf">

    <i class="fab fa-twitter"></i>
        <button type="button" name="button" class="button" style="float: right; margin-top: 20px; margin-left: 10px;">Login</button>
    <h1 class="main-h1">See what’s happening in <br>the world right now</h1>

    <input type="email" name="" value="" class="mobile-inputs top-input" placeholder="Phone or email">

    <input type="password" name="" value="" class="mobile-inputs" placeholder="Password">

    <button type="button" name="button" class="button-2">Get Started</button>
    <p class="log-p log-p-m">Have an account?<a href="" > Login</a></p>
  </div>-->


  <div class="mobile mobile-top-haf">
    <div class="">

      <i class="fab fa-twitter"></i>
      <h2 style="margin-left: 20px;">See what’s happening in <br> the world right now</h2>
      <h3 style="margin-left: 20px;">Join Twitter Today</h3>

      <input type="email" name="" value="" class="log-email other-sign-in" placeholder="Phone or email" required><br>

      <input type="password" name="" value="" class="log-email other-sign-in" placeholder="Password" required>
      <div class="bt-and-p">
        <button type="button" name="button" class="button-2">Get Started</button>

        <p class="log-p-m">Have an account? <a href="">Log in</a></p>
      </div>
    </div>
  </div>

  <div class="mobile mobile-bot-haf">
    <div class="">
      <p class="items"><i class="fas fa-search icons"></i>Follow your interests.</p>
      <p class="items"><i class="fas fa-users icons"></i>Hear What people are talking about.</p>
      <p class="items"><i class="far fa-comment icons"></i>Join the conversation.</p>
    </div>
  </div>

  <footer class="only-footer-m">
    <ul>
      <li>About</li>
      <li>Help Center</li>
      <li>Blog</li>
      <li>Status</li>
      <li>Jobs</li>
      <li>Terms</li>
      <li>Privacy Policy</li>
      <li>Cookies</li>
      <li>Ads info</li>
      <li>Brand</li>
      <li>Apps</li>
      <li>Advertise</li>
      <li>Marketing</li>
      <li>Business</li>
      <li>Developers</li>
      <li>Directory</li>
      <li>Settings</li>
      <li>© 2018 Twitter</li>
    </ul>
  </footer>
<!--MOBILE-->
</body>

</html>

              
            
!

CSS

              
                @font-face {
  font-family: Segoe UI; src: url('Sego UI.ttf');

}
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  overflow-x: hidden;

}

.lef-haf {
  display: flex;
  background: rgb(29, 161, 242);
  font-size: 18px;
  color: white;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  width: 50%;
  height: 100vh;
  float: left;
}





.items {
margin-left: 150px;

}

.icons {
  margin-right: 10px;
}


.rit-haf {
  display: flex;
  justify-content: center;
  float: right;
  height: 100vh;
  width: 50%;
  background-color: #1b2836;
  color: white;
}


.log-email {
  background-color:  rgb(20, 29, 38);
  color: white;
  padding: 0 12px;
  height: 20px;
  margin-left: 20px;
}

input {
  border: 1px solid black;
  margin-top: 30px;
  height: 45px !important;
}

.forgot {
  text-decoration: none;
  color: #aab8c2;
  font-size: 14px;
}

a {
  text-decoration: none;
}

.button {
    background-color: rgb(20, 29, 38);
    border: 1px solid #1da1f2;
    color: #1da1f2;
    padding: 10px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    border-radius: 100px;
    /* margin-left: 10px; */
    transition: 0.5s;
    cursor: pointer;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.button:hover {
  background-color: white;
  transition: 0.5s
}

.fa-twitter {
  font-size: 40px;
  margin-left: 40px;
  color: #1da1f2;
}

.other-sign-in {
  margin-left: 20px;
  width: 70%;
}


.button-2 {
  background-color: #1da1f2;
  border: 1px solid #1da1f2;
  color: white;
  padding: 10px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  border-radius: 100px;
  margin-left: 10px;
  transition: 0.5s;
  cursor: pointer;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin-top: 30px;
}

.button-2:hover {
  background-color: #006dbf;
  border: none;
}

.bt-and-p {
  display: flex;
  align-items: center;
}

a {
  color: rgb(27, 148, 213);
}

.log-p {
  margin-top: 35px;
  margin-left: 80px;
  font-size: 14px;
}

.only-footer {
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;
  text-align: center;
  flex-direction: row;
  width: 100%;
  background-color: rgb(20, 29, 38);
  color: #aab8c2;
  font-size: 12px;
  font-weight: normal;

}

.a-footer {
  color: #aab8c2;
}

.mobile {
  display: none;
}

.only-footer-m {
  display: none;
}

@media only screen and (max-width: 1116px) {
    .lef-haf {
      display: none;
    }

    .rit-haf {
      display: none;
    }

    .only-footer {
      display: none;
    }

    .mobile-top-haf {
      display: flex;
      justify-content: center;
      width: 100%;
      background-color: #1b2836;
      color: white;
    }

    .fa-twitter {
      align-items: flex-end;
      margin-top: 30px;
    }

    .main-h1 {
      text-align: center;
      font-size: 27px;
    }

    .mobile-inputs {
      margin-left: 30px;
      width: 100%;

    }

    .top-input {
      display: block;
    }

    input {
      background-color:  rgb(20, 29, 38);
      color: white;
      padding: 0 12px;
      height: 20px;
    }

    .button-2{
      display: inline;
      margin-bottom: 10px;
    }

    .log-p-m {
      display: inline;
      font-size: 12px;
      margin-left: 20px;
      margin-top: 30px;

    }

    .mobile-bot-haf {
      display: flex;
      background: rgb(29, 161, 242);
      font-size: 18px;
      color: white;
      justify-content: center;
      align-items: center;
      align-content: center;
      flex-direction: row;
      width: 100%;
      height: 40vh;
      float: left;
    }


  .only-footer-m {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    background-color: rgb(20, 29, 38);
    color: #aab8c2;
    font-size: 12px;
    font-weight: normal;
    margin: 0 auto;
    text-align: center;

  }

  ul {
    list-style: none;
    padding: 0;
  }
}

              
            
!

JS

              
                
              
            
!
999px

Console