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.
Download these images by clicking the links given below. After downloading, place all these images inside the root directory of your project.
<!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>
@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; }
We evaluated the performance of Llama 3.1 vs GPT-4 models on over 150 benchmark datasets…
The manufacturing industry is undergoing a significant transformation with the advent of Industrial IoT Solutions.…
If you're reading this, you must have heard the buzz about ChatGPT and its incredible…
How to Use ChatGPT in Cybersecurity If you're a cybersecurity geek, you've probably heard about…
Introduction In the dynamic world of cryptocurrencies, staying informed about the latest market trends is…
The Events Calendar Widgets for Elementor has become easiest solution for managing events on WordPress…