Home Instagram Login Page HTML and CSS byMYFILES-DOWNUP -June 06, 2022 HTML Instagram Login Page Using HTML and CSS Only Hello Guys I am Abhishek and Today I will Provide You Source Code Of Instagram Login Page ScreenShot: SOURCE CODE HTML: Instagram Login English (UK) Afrikaans Albanian Arabic Armenian Basque Bengali Bulgarian Catalan Cambodian Chinese (Mandarin) Croatian Czech Danish Dutch English Estonian Fiji Finnish French Georgian German Greek Gujarati Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Javanese Korean Latin Latvian Lithuanian Macedonian Malay Malayalam Maltese Maori Marathi Mongolian Nepali Norwegian Persian Polish Portuguese Punjabi Quechua Romanian Russian Samoan Serbian Slovak Slovenian Spanish Swahili Swedish Tamil Tatar Telugu Thai Tibetan Tonga Turkish Ukrainian Urdu Uzbek Vietnamese Welsh Xhosa Continue Using Facebook OR Phone number, username or email address Email address Password Forgotten your password? Log In Show Don't have an account? Sign up From Meta About Blog Jobs Help API Privacy Terms Top accounts Hashtags Locations Instagram Lite Dance Food & drink Home & garden Music Visual arts Copy CSS: @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap'); *{ font-family: 'Roboto', sans-serif; margin:0; padding:0; box-sizing: border-box; } .header-select{ display:flex; justify-content: center; align-items: center; } select{ margin-top:1rem; outline:none; border:none; background: #fff; appearance: none; color:#A1A3A4; cursor: pointer; } .sect-img{ display:flex; justify-content: center; align-items: center; } .drop-img{ width:1.5rem; height:1.5rem; margin-left:13%; margin-top: -1.2rem; cursor:pointer; } .ig-img{ width:13rem; margin-top: 4rem; height:5rem; } .container{ margin-top: 3rem; width:75%; height:2rem; background:#2fa1ff; display: flex; justify-content: center; align-items: center; text-decoration: none; color:#fff; font-weight: 700; border-radius: 0.2rem; } .fab{ width:1.3rem; height:1.3rem; background-color: #fff; color:#2fa1ff; margin: 0; display:flex; justify-content: center; align-items: center; border-radius: 0.2rem; margin-right: 1%; } .strainght-line{ position:relative; } .strainght-line::before{ content: ""; position: absolute; left:1.5rem; top:2rem; width: 7em; height: 0.1rem; background:#dfdfdf; } .strainght-line::after{ content: ""; position: absolute; margin-left: 15rem; left:0; top:2rem; width:7em; height:0.1rem; background: #dfdfdf; } .sect-or{ display: flex; justify-content: center; align-items:center; } .or-text{ font-size:1.1rem; margin-top: 1.4rem; margin-right: 1rem; color:#D3D3D3; font-weight: 700; } .input-field{ margin-top: 1rem; display:flex; justify-content: center; align-items: center; flex-direction: column; } input{ width:80%; height:2.5rem; background: #fff; outline:none; border:0.1px solid rgba(0,0,0,0.5); border-radius: 0.2rem; } input:hover{ border:0.1px solid #000; margin-top: -1.1em; transition: all 0.2s; } :placeholder-shown{ margin-top:1rem; } label{ font-size: 0.8rem; margin-left: -60%; } #phone{ margin-left: -18%; } #pass{ margin-right:6%; } .btn{ display: flex; justify-content: center; align-items: center; } #btne{ background: #fff; border:none; outline:none; color:#000; font-weight: 700; margin-top: -45%; margin-left: 60%; opacity: none; position: absolute; } input:focus + label,input:not(:placeholder-shown) + label{ opacity:1; transform: scale(.9) translateY(-100%) translateX(-10px); color:#000; } label, input{ transition: all 0.2s; transition-timing-function: ease; transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1); opacity:0.5; } .forgot-section{ display:flex; justify-content: center; align-items:center; } .forgot-href{ margin-top: -1rem; margin-left: 10rem; background-color:#fff; font-size:0.9rem; text-decoration: none; color:#2fa1ff; } .login-href{ display:flex; justify-content: center; align-items: center; text-decoration: none; background:#2fa1ff; color:rgba(253, 253, 253, 1); width:75%; height: 2rem; margin-top: 1rem; border:none; border-radius: 0.2rem; font-weight:900; font-size: 1rem; } .sect-sign{ display: flex; justify-content: center; align-items: center; margin-top:1rem; } .para-sign{ color:gray; margin-left: 6%; } .sign-href{ display:flex; justify-content: center; align-items: center; margin-top: -1.15rem; margin-left: 10.5rem; background-color:#fff; font-size:0.9rem; color:#2fa1ff; text-decoration: none; } .from-txt{ color:gray; font-size: 0.8rem; margin-top: 25%; margin-left: 45%; } .meta-img{ width:4rem; height:4rem; margin-left: 42%; margin-top: -4%; } .sect-footer{ display: flex; font-size: 0.5rem; font-weight: 600; background: #dfdfdf; gap:1rem; width:50em; height:6rem; } .para-foot{ display: flex; justify-content: space-between; color:gray; gap:0.5rem; } .para-foot-w{ display: flex; justify-content: center; align-items: center; padding-right: 6rem; } .sect-foot-w{ display: flex; gap:0.3rem; justify-content: center; align-items: center; margin-left:-90%; margin-top: -9%; font-size:0.5rem; } Copy JAVASCRIPT: console.log('Hello World!'); function toggler(e) { if( e.innerHTML == 'Show' ) { e.innerHTML = 'Hide' document.getElementById('pass_main').type="text"; } else { e.innerHTML = 'Show' document.getElementById('pass_main').type="password"; } } Copy Facebook Twitter