Breaking

Tuesday, January 21, 2020

Creating Modern Beautiful Websites with Tripline CSS

Creating a Beautiful website these days is very essential to rank up in the web market. There are a lot of CSS frameworks out there that you can use in your web projects. Some of them are bootstrap, Foundation and many more. These frameworks heavy and are best if you are creating a big website. But there may arise a case when you are creating a small site which just requires buttons, cards, Forms, etc. In this case, you can use a micro CSS framework called Tripline CSS. Its very small sized css framework and is fully responsive. You can download it from here.

In this tutorial, we will be creating a simple login page using Tripline CSS. Okay, Let's get started...

1. Creating the Login Page

<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <title>Login Page</title>
    <link rel="stylesheet" href="Tripline/tripline.css">
    <style>
      .tln-hero-image {
        background-image: url(photo.jpg);
        height:70%;
      }
    </style>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
  </head>
  <body>
    <div class="tln-card tln-red">
      <div class="tln-container">
      <center><h1><b>LOGIN FORM</b></h1></center>
      </div>
    </div>
    <div class="tln-hero-image">
      <div class="tln-hero-text">
        <form>
    <div class="tln-form">
    <label for="form1">Username</label>
    <input class="tln-input"/>
    </div>
    <div class="tln-form">
    <label for="pass">Password</label>
    <input class="tln-input" type="password"/>
    </div>
    <div class="tln-form">
    <input class="tln-checkbox" type="checkbox"/>Remember Me
    </div>
    <div class="tln-form">
    <input class="tln-red" type="submit"/>
    </div>
    </form>
      </div>
    </div>
  </body>
</html>


The following code creates a login page. All the codes are self explanatory. Save the above code as login.html and open it. You will see the following site created. The Login page is fully responsive.



Demo
You can find the source code of this tutorial at Github. Thank You.

No comments:

Post a Comment