Code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Twitter</title>
<script src="https://kit.fontawesome.com/6b9ade393d.js" crossorigin="anonymous"></script>
<style>
*{
padding: 0px;
margin: 0px;
box-sizing: border-box;
font-family:Arial, Helvetica, sans-serif;
}
.container{
height: 95vh;
display: grid;
grid-template-columns: 1fr 1fr ;
}
.left{
height: 95vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.right{
height: 95vh;
display:flex;
justify-content: center;
align-items:center ;
}
.login{
height: 80%;
width: 70%;
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
}
.button{
border: 1px solid black;
width: 68%;
height: 7%;
display: flex;
justify-content: center;
border-radius: 35px;
}
.button img{
width:25px;
margin-right: 10px;
}
.button button{
border: 1px solid black;
height: 90%;
width: 50%;
font-size: 17px;
border: none;
background-color: white;
cursor: pointer;
}
h4{
width: 100%;
font-size: 20px;
text-align: center;
color: rgb(175, 173, 173);
}
input{
border:1px solid gray;
width: 80%;
height: 10%;
border-radius: 10px;
font-size: 20px;
padding-left: 10px;
}
p{
color: rgb(87, 85, 85);
width: 100%;
height: 5%;
text-align: center;
}
input:hover{
border:1px solid;
}
</style>
</head>
<body>
<div class="container">
<div class="left">
<h2 style="font-size: 70px;">Happening now.</h2>
<div class="login">
<div style="background-color: black;color:aliceblue" class="button">
<button style="background-color: black;color:aliceblue"> <img src="https://th.bing.com/th/id/OIP.KGd_JSWfU4Fb3PIjbUw9jgHaHa?w=156&h=150&c=6&o=7&dpr=1.3&pid=1.7&rm=3" alt="">Continue with Phone</button>
</div>
<div class="button">
<button> <img src="https://www.pngall.com/wp-content/uploads/13/Google-Logo.png" alt="">Continue with Google</button>
</div>
<div class="button">
<button> <img src="https://tse1.explicit.bing.net/th/id/OIP.PwZb0R7iGm3nN5OLIGLoJAHaJF?rs=1&pid=ImgDetMain&o=7&rm=3" alt="">Continue with Apple</button>
</div>
<h4>-------------- or --------------</h4>
<input type="text" placeholder="Email or username">
<button style="width: 80%; height: 5%;font-size: 20px;border-radius: 35px; cursor: pointer;background-color:rgba(105, 105, 105, 0.292);color:rgba(0, 0, 0, 0.539);border:none;">Continue</button>
<p style="font-size: 15px;">By continuing, you agree to our <span style="color: black;">Terms of Service, Privacy Policy </span>and <br><span style="color: black;">Cookie use .</span></p>
</div>
</div>
<div class="right">
<img height="70%" width="100%" style="margin:auto;" src="https://th.bing.com/th/id/OIP.NrhURv9jtMIq6Ih3kiTq5QHaEK?w=286&h=180&c=7&r=0&o=7&dpr=1.3&pid=1.7&rm=3">
</div>
</div>
<hr style="width: 100vw;color: bisque;">
<footer style="padding-left: 10%;padding-top: 5px;">
<p style="font-size: 13px;">About
·
Get App
·
Grok
·
Help
·
Terms
·
Privacy
·
Cookies
·
Careers
·
Ads & Business
·
Developers
·
News
·
Accessibility
·
© 2026 X Corp.
</p>
</footer>
</body>
</html>
Output

Top comments (0)