<fieldset>
<legend> Register Form</legend>
<form method="GET" action="register.php">
<input type="text" placeholder="Enter your Name"> <br>
<input type="password" placeholder="Enter your Password"> <br>
<input type="submit" value="submit" class="btn">
</form>
</fielset>
fieldset{
background-color: lightblue;
width: 250px;
height: 200px;
}
fieldset legend{
font-family: Helvetica;
color:darkgreen;
font-size: 120%;
}
form input{
width: 90%;
padding:5px;
margin-top: 3px;
border-radius: 15px
}
form input:hover{
background-color: yellow;
}
.btn {
width:50%;
color:blue;
background-color: dark-grey;
}
.btn:hover{
background-color: darkgrey;
height: 40px;
width: 75%
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.