How to make Website Launch Page Design using 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{
margin: 0;
font-family: 'Lexend', sans-serif;
}
.container{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
row-gap: 20px;
height: 100vh;
color: white;
background-image: url(https://images8.alphacoders.com/132/1325725.png);
background-repeat: no-repeat;
background-size: cover;
}
h5{
font-size: 25px;
margin: 0%;
color: white;
letter-spacing: 2px;
}
span{
font-size: 60px;
font-weight: bolder;
color: white;
letter-spacing: 5px;
}
p{
font-size: 20px;
margin: 50px 250px;
text-align: center;
font-weight: bold;
color: white;
letter-spacing: 1px;
}
.drop{
display: flex;
flex-direction: row;
justify-content: center;
width: 50%;
}
input[type="text"]{
padding: 12px;
font-size: 14px;
border-radius: 3px;
border: none;
outline: none;
width: 200px;
margin: 10px;
}
input[type="email"]{
padding: 12px;
font-size: 14px;
border-radius: 3px;
border: none;
outline: none;
width: 200px;
margin: 10px;
}
input[type="button"]{
padding: 12px;
font-size: 16px;
border-radius: 3px;
border: none;
background-color: crimson;
width: 150px;
font-weight: 600;
margin: 10px;
color: white;
letter-spacing: 1px;
cursor: pointer;
}
.credit a {
text-decoration: none;
color: white;
font-weight: 800;
margin: 0;
}
.credit{
color: white;
text-align: center;
margin-top: 10px;
font-family: Verdana,Geneva,Tahoma,sans-serif;
}
.credit span{
color:white;
font-size:20px;
margin: 0;
}
@media screen and (max-width:1024px){
.container{
height: fit-content;
padding: 20px;
width: 100%;
}
p{
margin: 25px 25px;
}
.drop{
width: 100%;
}
}
@media screen and (max-width:630px){
.container{
height: fit-content;
}
h5{
font-size: 20px;
}
span{
font-size: 35px;
}
p{
font-size: 18px;
}
.drop{
flex-direction: column;
}
input[type="text"],input[type="email"],input[type="button"]{
margin: 10px;
width: 90%;
}
}
Thank you for reading our blog. If you face any problem in Creating a Website Launch Page Design using 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