Tutorials

Instagram Login Page HTML and CSS Code Download

The official Instagram login page is designed using HTML and CSS. In this tutorial, I’ll provide you complete source code of the Instagram login page.


Images Used on Instagram Login Page

Download these images by clicking the links given below. After downloading, place all these images inside the root directory of your project.


index.html

<!DOCTYPE html>
<html lang="en">
<head>
 <meta charset="UTF-8">
 <title>Instagram Login Page</title>
 <link rel="stylesheet" href="style.css">
</head>
<body>

<div class="wrapper">
 <div class="header">
  <div class="top">
   <div class="logo">
    <img src="instagram.png" alt="instagram" style="width: 175px;">
   </div>
   <div class="form">
    <div class="input_field">
     <input type="text" placeholder="Phone number, username, or email" class="input">
    </div>
    <div class="input_field">
     <input type="password" placeholder="Password" class="input">
    </div>
    <div class="btn"><a href="#">Log In</a></div>
   </div>
   <div class="or">
    <div class="line"></div>
    <p>OR</p>
    <div class="line"></div>
   </div>
   <div class="dif">
    <div class="fb">
     <img src="facebook.png" alt="facebook">
     <p>Log in with Facebook</p>
    </div>
    <div class="forgot">
     <a href="#">Forgot password?</a>
    </div>
   </div>
  </div>
  <div class="signup">
   <p>Don't have an account? <a href="#">Sign up</a></p>
  </div>
  <div class="apps">
   <p>Get the app.</p>
   <div class="icons">
    <a href="#"><img src="appstore.png" alt="appstore"></a>
    <a href="#"><img src="googleplay.png" alt="googleplay"></a>
   </div>
  </div>
 </div>
 <div class="footer">
  <div class="links">
   <ul>
    <li><a href="#">ABOUT US</a></li>
    <li><a href="#">SUPPORT</a></li>
    <li><a href="#">PRESS</a></li>
    <li><a href="#">API</a></li>
    <li><a href="#">JOBS</a></li>
    <li><a href="#">PRIVACY</a></li>
    <li><a href="#">TERMS</a></li>
    <li><a href="#">DIRECTORY</a></li>
    <li><a href="#">PROFILES</a></li>
    <li><a href="#">HASHTAGS</a></li>
    <li><a href="#">LANGUAGE</a></li>
   </ul>
  </div>
  <div class="copyright">
   © 2022 INSTAGRAM
  </div>
 </div>
</div>

</body>
</html>

style.css

@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

*{
 margin: 0;
 padding: 0;
 box-sizing: border-box;
 outline: none;
 list-style: none;
 text-decoration: none;
 font-family: 'Roboto', sans-serif;
}

body{
 background: #fafafa;
 font-size: 14px;
}

.wrapper .header{
 max-width: 350px;
 width: 100%;
 height: auto;
 margin: 50px auto;
}

.wrapper .header .top,
.wrapper .signup{
 background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 1px;
    padding: 40px 40px 20px;
}

.wrapper .header .logo img{
 display: block;
 margin: 0 auto 35px;
}

.wrapper .header .form .input_field{
 margin-bottom: 5px;
}

.wrapper .header .form .input_field .input{
 width: 100%;
 background: #fafafa;
 border: 1px solid #efefef;
 font-size: 12px;
 border-radius: 3px;
 color: #262626;
 padding: 10px;
}

.wrapper .header .form .input_field .input:focus{
 border: 1px solid #b2b2b2;
}

.wrapper .header .form .btn{
 margin: 10px 0;
 background-color: #3897f0;
    border: 1px solid #3897f0;
    border-radius: 4px;
    text-align: center;
    padding: 5px;
}

.wrapper .header .form .btn a{
 color: #fff;
 display: block;
}

.wrapper .header .or{
 display: flex;
 justify-content: space-between;
 align-items: center;
 height: 15px;
 margin: 15px 0 20px;
}

.wrapper .header .or .line{
 width: 105px;
 height: 2px;
 background: #efefef
}

.wrapper .header .or p{
 color: #999;
 font-size: 12px;
}

.wrapper .dif .fb{
 display: flex;
 justify-content: center;
 align-items: center;
}

.wrapper .dif .fb img{
 width: 16px;
 height: 16px;
}

.wrapper .dif  .fb p{
 color: #385185;
 font-weight: 500;
 margin-left: 10px;
}

.wrapper .dif .forgot{
 font-size: 12px;
 text-align: center;
 margin-top: 20px;
}

.wrapper .dif .forgot a{
 color: #003569;
}

.wrapper .signup{
 margin: 10px 0 20px;
 padding: 25px 40px;
 text-align: center;
 color: #262626;
}

.wrapper .signup a{
 color: #3897f0;
}

.wrapper .apps{
 text-align: center;
 color: #262626;
}

.wrapper .apps p{
 margin-bottom: 20px;
}

.wrapper .apps a img{
 width: 135px;
 height: 40px;
 margin: 0 5px;
}

.footer{
 max-width: 935px;
 width: 100%;
 margin: 0 auto;
 padding: 40px 0;
 display: flex;
 justify-content: space-between;
}

.footer .links ul li{
 display: inline-block;
 margin-right: 10px;
}

.footer .links ul li a{
 color: #003569;
 font-size: 12px;
}

.footer .copyright{
 color: #999; 
}
Furqan

Well. I've been working for the past three years as a web designer and developer. I have successfully created websites for small to medium sized companies as part of my freelance career. During that time I've also completed my bachelor's in Information Technology.

Recent Posts

Obsidian vs Notion (2026): I tested both for 6 months

If you have been searching for the right note-taking or knowledge management app, you have…

May 31, 2026

AnyType Alternatives: 10 Best Tools for Knowledge Management in 2026

Looking for AnyType alternatives? You're not alone. AnyType has gained popularity as a privacy-focused, local-first…

May 31, 2026

Notion Alternatives – Best Note-taking & Wiki Tools

Notion is a popular all-in-one workspace, but many users seek alternatives for different needs (free…

May 31, 2026

Best Logseq Alternatives in 2026: Find Your Perfect Knowledge Management Tool

Logseq is a beloved tool in the personal knowledge management (PKM) community. It's free, open-source,…

May 30, 2026

Webshare Alternatives: 8 Best Proxy Providers to Use in 2026

Looking for a Webshare alternative? You're not alone. Webshare is a popular proxy service with…

May 30, 2026

Docker Alternatives in 2026: The Complete Guide to Container Tools

Docker changed software development forever. It made containers accessible, gave developers a simple workflow, and…

May 30, 2026