How to make Signup form in HTML and CSS .[Source Code]
To make this website, you would like to make two files: an HTML file, a CSS file. First, create an HTML file with the name of index.html and remember, you have to create a file with a .html extension.
/**
Hello Future Developer Thanks for Using learningrobo.com,
Check our website Regularly For New Snippets Post.
Share & Support us
**/
*{
box-sizing: border-box;
}
body{
background-color:rgb(255,191,0);
}
.container{
width:100%;
height:100vh;
display:flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.box{
display:flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
background-color: aliceblue;
height: 650px;
width: 450px;
font-family: 'DM Sans', sans-serif;
border-radius: 5px;
box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
.top{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color:gainsboro;
border:none ;
height:100px;
width:100%;
border-radius:5px 5px 0px 0px;
}
.top h1{
color: black;
font-size: 30px;
font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}
.bottom{
height:550px;
width:100%;
}
.bottom h3{
text-align: left;
margin-left: 60px;
}
textarea{
height: 150px;
}
input[type="text"]{
padding: 10px;
width: 300px;
border-radius: 5px;
border: 1px solid gray;
}
input[type="email"]{
padding: 10px;
width: 300px;
border-radius: 5px;
border: 1px solid gray;
}
input[type="password"]{
padding: 10px;
width: 300px;
border-radius: 5px;
border: 1px solid gray;
}
input[type="submit"]{
background-color: orangered;
width:320px;
border-radius: 5px;
border: none;
padding: 10px;
font-family: 'Roboto', sans-serif;
color: white;
font-size: 17px;
}
input[type="submit"]:hover{
cursor: pointer;
}
@media screen and (max-width:630px){
.container{
padding:20px 0px;
}
.box{
width:98%;
}
}
.credit a{
text-decoration: none;
color: #121212;
font-weight: 800;
}
.credit{
color: #121212;
text-align: center;
margin-top: 10px;
font-family: Verdana,Geneva,Tahoma,sans-serif;
}
.credit span{
color:tomato;
font-size:20px;
}
Thank you for reading our blog. If you face any problem in Creating a Signup form in HTML and CSS ., then contact us or comment to us. We’ll try to provide a solution to your problem as soon as possible.
Explore
Press The Key ' p ' and say ' read article ' our voice assistant read our article.
In Our older post it doesnot work we working on that.
In Our older post it doesnot work we working on that.
Post a Comment
Thank you
Learning robo team