Skip to main content

CSS
CSS
6 followers
0 questions
0 posts

Do you have questions about CSS?

Log in to ask questions about CSS publicly or anonymously.

Answer
HTMLCSS

Add the HTML first

<form action="login.php"method="post"> <div class="img-container"> <img src="img.png"alt="Avatar" class="avatar"> </div> <div class="container"> <label for="name"><b>Username</b></label> <input type="text"placeholder="Enter Username"name="name" required> <label for="pass"><b>Password</b></label> <input type="password"placeholder="Enter Password"name="pass" required> <button type="submit">Login</button> <label> <input type="checkbox"checked="checked"name="remember"> Remember me </label> </div> <div class="container"style="background-color:#f1f1f1"> <button type="button"class="cancel-btn">Cancel</button> <span... (More)