CSS for TextBox and Button in HTML page

<!DOCTYPE html>
<html>
<head>
<title>index</title>
<style type="text/css">

input{
width: 25%;
position: absolute;
left: 40%;
top: 30%;
padding: 1%;
border-radius: 25px;
border-color: blue;
}

button{
width: 25%;
position: absolute;
left: 40%;
top: 40%;
padding: 1%;
border-radius: 25px;
border-color: blue;
background-color: lightblue;
}
</style>
</head>
<body>
<input type="text" name="a" placeholder="name">
<button>login</button>

</body>
</html>

0 Comments