Login Form
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Document</title>
</head>
<body>
<div class="box">
<h3>Welcome to mcdonal</h3>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Accusamus, nulla.</p>
<input type="text" placeholder="Name">
<input type="text" placeholder="Number">
<a class=" login" href="">Login</a>
</div>
</body>
</html>
// CSS File
.box{
width: 300px;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
border: solid grey;
border-width: 1px;
margin: 50px auto;
padding: 20px;
}
.login{
border: solid grey;
padding: 4px;
border-width: 1px;
border-radius: 3px;
display: inline-block;
}
input{
width: 100%;
padding: 10px;
margin-bottom: 13px;
box-sizing: border-box;
}
Comments
Post a Comment