Hello, In this post, we will be discussing how to create a “Coming soon page template” page in HTML and CSS. In the last post, we created a 30-Second Countdown Timer. Today we are creating a coming soon landing page in HTML and CSS.
“Coming soon page template” in CSS:

As you can see in the image we have to create the “Coming soon page template” using HTML and CSS languages. This page has a unique design and it shows a great design related to the website.
You might like it:
This page is created by websites when the website is in construction mode or not ready. It shows the users that the website is in construction and needs some time. For that website use this technique to create a template and display it on the main page of the website.

Content of “Coming soon page template” :
This page has an image slider and you can change this slider to solid color or place any image instead of it. Then it has a main heading of “we are launching soon”. Below this, it shows the date of coming soon. Then we created an email newsletter. This email newsletter will collect emails from the users. When the website is ready then it will send them a notification that website is ready. Once they will receive a message that the website is ready then they will visit the website due to email or you can also send any news update to your subscriber.
On the top right, there is a menu icon for more info. If you want to learn how to build this type of “Coming soon page template” page then follow this post to the end.

This type of landing page can be created using multiple languages. But for this particular page, we have used only two languages (HTML and CSS). If we need any type of functionality in pages or movement in buttons then we have the option of javascript as well. Javascript helps developers to make their web page dynamic.
How to create a “Coming soon page template”?
To build such type of page we will use 3 steps. In these steps, we will create it from scratch. In the end, we have a product like this.
Download a code editor:
It is the first step to downloading the code editor. A lot of code editors are present in the market but we will use sublime text 3 for this project.
Html source code:
Create an HTML file and name it. Then save the file but use the .html extension at the end of the file name. It will convert your file into an HTML file. It will help the browser and code editor understand the file type. We have provided the HTML code below to use in your HTML file.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Coming Soon Template - FantacyDesigns</title>
<!--
Get Ready Template
https://job.fantacydesigns.com/
-->
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="team" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/vegas.min.css">
<link rel="stylesheet" href="css/font-awesome.min.css">
<!-- MAIN CSS -->
<link rel="stylesheet" href="css/templatemo-style.css">
</head>
<body>
<!-- PRE LOADER -->
<section class="preloader">
<div class="spinner">
<span class="spinner-rotate"></span>
</div>
</section>
<!-- GRID LINE -->
<section class="grid">
<div class="container">
<div class="row">
<div class="col-md-2 col-sm-2">
<div class="grid-line"></div>
</div>
<div class="col-md-2 col-sm-2">
<div class="grid-line"></div>
</div>
<div class="col-md-2 col-sm-2">
<div class="grid-line"></div>
</div>
<div class="col-md-2 col-sm-2">
<div class="grid-line"></div>
</div>
<div class="col-md-2 col-sm-2">
<div class="grid-line"></div>
</div>
</div>
</div>
</section>
<div class="menu-bg"></div>
<div class="menu-burger">☰</div>
<div class="menu-items">
<div class="container">
<div class="row">
<div class="col-md-offset-2 col-md-4 col-sm-6">
<h1>Navigations</h1>
<ul class="menu">
<li><a href="#">Home</a></li>
<li><a href="#">Our Studio</a></li>
<li><a href="#">Journal</a></li>
<li><a href="#">Start a project</a></li>
<li><a href="#">Email Us</a></li>
</ul>
</div>
<div class="col-md-4 col-sm-6">
<address>
<h1>Our Studio</h1>
<p>1234 New Street View, <br> Islamabad, Pakistan</p>
</address>
</div>
<div class="col-md-12 col-sm-12">
<ul class="social-icon">
<li class="line"></li>
<li><a href="#" class="fa fa-facebook"></a></li>
<li><a href="#" class="fa fa-twitter"></a></li>
<li><a href="#" class="fa fa-google"></a></li>
<li><a href="#" class="fa fa-instagram"></a></li>
</ul>
</div>
</div>
</div>
</div>
<!-- HOME -->
<section id="home">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-md-12 col-sm-12">
<div class="home-info">
<h1>We are getting ready <br>to launch new UPDATED/CREATIVE site!</h1>
<!-- You can change the date time in init.js file -->
<ul class="countdown">
<li>
<span class="days">14</span>
<h3>Days</h3>
</li>
<li>
<span class="hours">10</span>
<h3>hours</h3>
</li>
<li>
<span class="minutes">15</span>
<h3>minutes</h3>
</li>
<li>
<span class="seconds">34</span>
<h3>seconds</h3>
</li>
</ul>
<div class="subscribe-form">
<form action="" method="get">
<input type="email" name="email" class="form-control" placeholder="Enter your email" required="">
<button type="submit" class="form-control"><i class="fa fa-envelope-o"></i></button>
</form>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- SCRIPTS -->
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/vegas.min.js"></script>
<script src="js/countdown.js"></script>
<script src="js/init.js"></script>
<script src="js/custom.js"></script>
</body>
</html>
CSS source code:
Again create another file in your code editor. Now use the .css extension at the end of the file name. All the designs of this project have been done in CSS. So, we have provided the code of CSS below. Use this code in your code editor. Then connect both files of HTML and CSS with each other.
/*
Get Ready Template
http://www.templatemo.com/tm-521-get-ready
*/
@import url('https://fonts.googleapis.com/css?family=Poppins:300,400');
body {
margin: 0;
-webkit-perspective: 1000;
font-family: 'Poppins', sans-serif;
background: #303030;
}
body, html {
height: 100%;
width: 100%;
overflow-x: hidden;
}
/*---------------------------------------
TYPOGRAPHY
-----------------------------------------*/
h1,h2,h3,h4,h5,h6 {
font-weight: 300;
line-height: inherit;
}
h1 {
color: #ffffff;
font-size: 2em;
}
h2 {
color: #353535;
font-size: 2em;
}
p {
color: #757575;
font-size: 14px;
font-weight: normal;
line-height: 24px;
}
/*---------------------------------------
GENERAL
-----------------------------------------*/
html{
-webkit-font-smoothing: antialiased;
}
a {
color: #202020;
text-decoration: none !important;
}
a,
input, button,
.form-control {
-webkit-transition: 0.5s;
transition: 0.5s;
}
a:hover, a:active, a:focus {
color: #29ca8e;
outline: none;
}
::-webkit-scrollbar{
width: 8px;
height: 8px;
}
::-webkit-scrollbar-thumb {
cursor: pointer;
background: #202020;
}
.overlay {
background: linear-gradient(to top right, #d2b48c, #000000);
opacity: 0.9;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
}
.grid {
position: fixed;
width: 100%;
height: 100%;
z-index: 1;
}
.grid-line {
height: 300vh;
border-right: 1px solid rgba(255,255,255,0.02);
}
.google-map iframe {
border: 0;
margin-top: 20px;
}
.subscribe-form {
position: relative;
}
.subscribe-form .form-control {
background: #ffffff;
box-shadow: none;
border: 0;
border-radius: 50px;
width: 340px;
height: 45px;
padding: 6px 30px;
}
.subscribe-form button[type="submit"] {
background: transparent;
border: 0;
outline: none;
}
.subscribe-form .fa {
cursor: pointer;
position: absolute;
top: 12px;
right: 12px;
color: #d2b48c;
font-size: 20px;
}
/*---------------------------------------
PRE LOADER
-----------------------------------------*/
.preloader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 99999;
display: flex;
flex-flow: row nowrap;
justify-content: center;
align-items: center;
background: none repeat scroll 0 0 #ffffff;
}
.spinner {
border: 1px solid transparent;
border-radius: 3px;
position: relative;
}
.spinner:before {
content: '';
box-sizing: border-box;
position: absolute;
top: 50%;
left: 50%;
width: 45px;
height: 45px;
margin-top: -10px;
margin-left: -10px;
border-radius: 50%;
border: 1px solid #575757;
border-top-color: #ffffff;
animation: spinner .9s linear infinite;
}
@-webkit-@keyframes spinner {
to {transform: rotate(360deg);}
}
@keyframes spinner {
to {transform: rotate(360deg);}
}
/*---------------------------------------
MENU
-----------------------------------------*/
.menu, .menu-bg, .menu-burger {
position: fixed;
z-index: 222;
width: 50px;
height: 50px;
line-height: 30px;
font-size: 25px;
text-align: center;
border-radius: 100%;
right: 25px;
top: 25px;
}
.menu-bg {
background: #101010;
pointer-events: none;
transition: .3s;
right: 50px;
top: 50px;
transform: translate3d(50%, -50%, 0);
transform-origin: center center;
}
.menu-bg.fs {
transform: translate3d(50%, -50%, 0);
width: 500vw;
height: 500vw;
}
.menu-burger {
color: #ffffff;
padding-top: 11px;
-webkit-user-select: none;
cursor: pointer;
transition: .4s;
transform-origin: center;
z-index: 9999;
}
.menu-burger.fs {
transform: rotate(-180deg) translateY(5px);
}
.menu-items {
display: flex;
flex-direction: column;
justify-content: center;
align-content: center;
position: absolute;
z-index: 9999;
width: 100%;
height: 100%;
opacity: 0;
transition: .4s;
margin-top: 50px;
transform: translateY(-200%);
pointer-events: none;
}
.menu-items ul.menu {
position: relative;
width: 100%;
height: 100%;
text-align: left;
top: 10px;
}
.menu-items ul.menu li {
display: block;
list-style: none;
transition: 1s;
opacity: 0;
margin: 5px 0;
}
.menu-items ul.menu li a {
color: #ffffff;
font-size: 18px;
position: relative;
}
.menu-items ul.menu li a:after {
content: "";
width: 0;
height: 2px;
border-radius: 50px;
position: absolute;
bottom: 13px;
transition: 0.5s;
margin: 0 auto;
display: block;
right: 0;
left: 0;
}
.menu-items ul.menu li a:hover:after {
content: "";
background: #d2b48c;
width: 100%;
}
.menu-items.fs {
transform: translateY(0);
pointer-events: auto;
opacity: 1;
}
.menu-items.fs ul li {
opacity: 1;
}
address p {
color: #f9f9f9;
}
/*---------------------------------------
HOME
-----------------------------------------*/
#home {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
text-align: center;
position: relative;
}
#home .container {
width: 100%;
}
.home-info {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
z-index: 2;
width: 100%;
height: 100vh;
}
.countdown {
text-align: center;
margin: 50px 0;
padding: 0;
}
.countdown li {
color: #ffffff;
list-style: none;
display: inline-block;
margin: 0 20px;
}
.countdown span {
font-size: 25px;
}
.countdown h3 {
font-size: 14px;
text-transform: uppercase;
margin: 10px 0;
}
/*---------------------------------------
SOCIAL ICON
-----------------------------------------*/
.social-icon {
position: relative;
padding: 0;
margin: 30px 0 0 0;
text-align: center;
}
.social-icon .line {
background: #ffffff;
width: 50px;
height: 2px;
margin-right: 10px;
position: relative;
bottom: 5px;
}
.social-icon li {
display: inline-block;
list-style: none;
}
.social-icon li a {
border-radius: 50px;
color: #ffffff;
font-size: 15px;
width: 35px;
height: 35px;
line-height: 35px;
text-decoration: none;
text-align: center;
position: relative;
margin: 5px 5px 5px 0;
}
.social-icon li a:hover {
background: #d2b48c;
color: #ffffff;
}
/*---------------------------------------
RESPONSIVE STYLES
-----------------------------------------*/
@media screen and (max-width: 480px) {
.home-info {
padding: 0 1em 0 1em;
}
.countdown li {
margin: 0 12px;
}
address {
margin-top: 50px;
}
}
@media screen and (max-width: 360px) {
h1 {
font-size: 1.50em;
}
.menu-items {
margin: 100px 0;
}
.countdown span {
font-size: 20px;
}
.countdown h3 {
font-size: 12px;
}
}
Download source code:
If you are facing any error while creating a connection between both files or miss some lines of code. Then we created a source code file. You can download this source code file from the below button. The source code file is available in a zip file.
Are you still facing any errors? If yes then ask about your problems in the comment section.
Thanks for reading this article.
[su_divider divider_color=”#1dbf73″ link_color=”#1dbf73″]
[su_button url=”https://mega.nz/file/VoNB0AJR#UQsUyIMWTaULCVuBw_mGSOFHrO0YzGowUVZGlvLMw1w” target=”blank” style=”3d” background=”#1dbf73″ size=”6″ radius=”5″ desc=”Click to Download” id=”download”]Download Source Code[/su_button]