Hello everyone, In this post, we will learn how to create a beautiful and simple landing page using HTML CSS, and JavaScript. In the last post, we discussed how to create a Landing page HTML template free download but now we are going to discuss how to create a beautiful and simple landing page using 3 front-end languages.
Html landing page:
Html, CSS, and Javascript:

As you can see in the image we have created a beautiful and modern landing page. This page has a lot of features and we have created it using HTML, CSS and JavaScript. We have used the Html for creating the skeleton of a landing page and CSS is used for creating the design of the landing page we have also used the CSS for making our landing page responsive across all the devices like mobile and tablets etc. JavaScript is a dynamic language and it is used to add functionality to any website or landing page.
You might like it:
The header of the Html landing page:
As you can see in the image that we have a landing page and we have created the header of the landing page. At the top of the landing page, we have divided the header into two sections in the first section on the left-most side we have uploaded the logo of the website and on the right side of the landing page, we have created the menu of the landing page.

Hero Section of Html landing page:
Then we created the hero section of the page and in the hero section, we created two sections of the page. On the left side of the hero section, we have created a section for text heading and buttons and on the right side of the hero section, we have uploaded the picture and graphics of the page.

Then below this hero section, we have created three boxes. And these three boxes are equal in size and have the same color, same shadows, each and everything are same. In all the boxes we have uploaded an image. At the top of the box, we have a heading, and that heading is the main heading. You can name it H1. And then we have a paragraph and it is created with the help of a paragraph tag which is used in Html. And then we created a button. This will help us to move across the page and visit all the sections and pages.

Below these boxes, we have created another section and in this section. We have divided the section into two parts left side and the right side. On the left side, we have uploaded the graphics and pictures related to the landing page or business or website. We have uploaded an icon and along with that, we have heading and text related to that icon. It can be related to some services that are security-related things of the business.
Testimonials section:
When we scroll down then we came across a unique and interesting section and in this section, we have created a section for people who are our customers. We create a beautiful customer review section for our users.

Footer Section:
Then we have another section on this page and that is the final section of this page. In this section, we have created a contact us page. This contact form will help the visitor to contact the company if they have any queries. And in this contact us page we have some input fields and user can enter their data. They can send their information to the team of the business or website. And they will answer their question. Then on the right side of this section, we have some text and links to different social media accounts.

If you want to visit different social media accounts of that company or business then you can go through these links. And by clicking on this can you can visit their social media platform. These icons are important with the help of CSS properties and you can import these icons from the font awesome website. For creating this type of learning page we have to follow some steps and after falling these steps you will be able to create this beautiful and simple learning page. We will create this learning page in simple steps, and you have to follow for steps if you want to create just the type of learning page for you.
How do create an Html landing page?
First, you have to download and install a code editor for the purpose of writing the code. It helps us to write the code without Syntax errors and it also saves us time when we are developing any software or website or page or we are creating any project. Then it helps us to create that project without facing any syntax errors and it also saves our time because it provides us suggestions while coding anything in that code editor. VS Code is recommended.
Html source code:
You have to create an HTML file and save the file with the extension. HTML.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="TemplateMo">
<link href="https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900&display=swap" rel="stylesheet">
<title>FantacyDesigns Landing Page HTML Template</title>
<!--
FantacyDesigns Landing Page
NKpro91
-->
<!-- Additional CSS Files -->
<link rel="stylesheet" type="text/css" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="assets/css/font-awesome.css">
<link rel="stylesheet" href="assets/css/templatemo-lava.css">
<link rel="stylesheet" href="assets/css/owl-carousel.css">
</head>
<body>
<!-- ***** Preloader Start ***** -->
<div id="preloader">
<div class="jumper">
<div></div>
<div></div>
<div></div>
</div>
</div>
<!-- ***** Preloader End ***** -->
<!-- ***** Header Area Start ***** -->
<header class="header-area header-sticky">
<div class="container">
<div class="row">
<div class="col-12">
<nav class="main-nav">
<!-- ***** Logo Start ***** -->
<a href="index.html" class="logo">
Fantacy<span>App</span>
</a>
<!-- ***** Logo End ***** -->
<!-- ***** Menu Start ***** -->
<ul class="nav">
<li class="scroll-to-section"><a href="#welcome" class="menu-item">Home</a></li>
<li class="scroll-to-section"><a href="#about" class="menu-item">About</a></li>
<li class="scroll-to-section"><a href="#testimonials" class="menu-item">Testimonials</a>
</li>
<li class="submenu">
<a href="javascript:;">Drop Down</a>
<ul>
<li><a href="" class="menu-item">About Us</a></li>
<li><a href="" class="menu-item">Features</a></li>
<li><a href="" class="menu-item">FAQ's</a></li>
<li><a href="" class="menu-item">Blog</a></li>
</ul>
</li>
<li class="scroll-to-section"><a href="#contact-us" class="menu-item">Contact Us</a></li>
</ul>
<a class='menu-trigger'>
<span>Menu</span>
</a>
<!-- ***** Menu End ***** -->
</nav>
</div>
</div>
</div>
</header>
<!-- ***** Header Area End ***** -->
<!-- ***** Welcome Area Start ***** -->
<div class="welcome-area" id="welcome">
<!-- ***** Header Text Start ***** -->
<div class="header-text">
<div class="container">
<div class="row">
<div class="left-text col-lg-6 col-md-12 col-sm-12 col-xs-12"
data-scroll-reveal="enter left move 30px over 0.6s after 0.4s">
<h1>Unique App that we <em>CREATE</em></h1>
<p>FantacyApp <a href="https://job.fantacydesigns.com/category/landing-pages/">HTML landing page</a> template is provided by <a href="#">FantacyDesigns</a>.
You can modify and use it for your commercial websites for free of charge. This template is last updated on 20 May 2022.</p>
<a href="#about" class="main-button-slider">KNOW US BETTER</a>
</div>
</div>
</div>
</div>
<!-- ***** Header Text End ***** -->
</div>
<!-- ***** Welcome Area End ***** -->
<!-- ***** Features Big Item Start ***** -->
<section class="section" id="about">
<div class="container">
<div class="row">
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12"
data-scroll-reveal="enter left move 30px over 0.6s after 0.4s">
<div class="features-item">
<div class="features-icon">
<h2>01</h2>
<img src="assets/images/features-icon-1.png" alt="">
<h4>Trend Analysis</h4>
<p>Curabitur pulvinar vel odio sed sagittis. Nam maximus ex diam, nec consectetur diam.</p>
<a href="#testimonials" class="main-button">
Read More
</a>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12"
data-scroll-reveal="enter bottom move 30px over 0.6s after 0.4s">
<div class="features-item">
<div class="features-icon">
<h2>02</h2>
<img src="assets/images/features-icon-2.png" alt="">
<h4>Site Optimization</h4>
<p>Curabitur pulvinar vel odio sed sagittis. Nam maximus ex diam, nec consectetur diam.</p>
<a href="#testimonials" class="main-button">
Discover More
</a>
</div>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12"
data-scroll-reveal="enter right move 30px over 0.6s after 0.4s">
<div class="features-item">
<div class="features-icon">
<h2>03</h2>
<img src="assets/images/features-icon-3.png" alt="">
<h4>Email Design</h4>
<p>Curabitur pulvinar vel odio sed sagittis. Nam maximus ex diam, nec consectetur diam.</p>
<a href="#testimonials" class="main-button">
More Detail
</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- ***** Features Big Item End ***** -->
<div class="left-image-decor"></div>
<!-- ***** Features Big Item Start ***** -->
<section class="section" id="promotion">
<div class="container">
<div class="row">
<div class="left-image col-lg-5 col-md-12 col-sm-12 mobile-bottom-fix-big"
data-scroll-reveal="enter left move 30px over 0.6s after 0.4s">
<img src="assets/images/left-image.png" class="rounded img-fluid d-block mx-auto" alt="App">
</div>
<div class="right-text offset-lg-1 col-lg-6 col-md-12 col-sm-12 mobile-bottom-fix">
<ul>
<li data-scroll-reveal="enter right move 30px over 0.6s after 0.4s">
<img src="assets/images/about-icon-01.png" alt="">
<div class="text">
<h4>Vestibulum pulvinar rhoncus</h4>
<p>Please do not redistribute this template ZIP file for a download purpose. You may <a
rel="nofollow" href="https://templatemo.com/contact" target="_parent">contact</a> us for
additional licensing of our template or to get a PSD file.</p>
</div>
</li>
<li data-scroll-reveal="enter right move 30px over 0.6s after 0.5s">
<img src="assets/images/about-icon-02.png" alt="">
<div class="text">
<h4>Sed blandit quam in velit</h4>
<p>You can <a rel="nofollow"
href="https://templatemo.com/tm-540-lava-landing-page">download Lava
Template</a> from our website. Duis viverra, ipsum et scelerisque placerat, orci
magna consequat ligula.</p>
</div>
</li>
<li data-scroll-reveal="enter right move 30px over 0.6s after 0.6s">
<img src="assets/images/about-icon-03.png" alt="">
<div class="text">
<h4>Aenean faucibus venenatis</h4>
<p>Phasellus in imperdiet felis, eget vestibulum nulla. Aliquam nec dui nec augue
maximus porta. Curabitur tristique lacus.</p>
</div>
</li>
</ul>
</div>
</div>
</div>
</section>
<!-- ***** Features Big Item End ***** -->
<div class="right-image-decor"></div>
<!-- ***** Testimonials Starts ***** -->
<section class="section" id="testimonials">
<div class="container">
<div class="row">
<div class="col-lg-8 offset-lg-2">
<div class="center-heading">
<h2>What They Think <em>About Us</em></h2>
<p>Suspendisse vitae laoreet mauris. Fusce a nisi dapibus, euismod purus non, convallis odio.
Donec vitae magna ornare, pellentesque ex vitae, aliquet urna.</p>
</div>
</div>
<div class="col-lg-10 col-md-12 col-sm-12 mobile-bottom-fix-big"
data-scroll-reveal="enter left move 30px over 0.6s after 0.4s">
<div class="owl-carousel owl-theme">
<div class="item service-item">
<div class="author">
<i><img src="assets/images/testimonial-author-1.png" alt="Author One"></i>
</div>
<div class="testimonial-content">
<ul class="stars">
<li><i class="fa fa-star"></i></li>
<li><i class="fa fa-star"></i></li>
<li><i class="fa fa-star"></i></li>
<li><i class="fa fa-star"></i></li>
<li><i class="fa fa-star"></i></li>
</ul>
<h4>Jonathan Smart</h4>
<p>“Nullam hendrerit, elit a semper pharetra, ipsum nibh tristique tortor, in tempus
urna elit in mauris.”</p>
<span>Besta CTO</span>
</div>
</div>
<div class="item service-item">
<div class="author">
<i><img src="assets/images/testimonial-author-1.png" alt="Second Author"></i>
</div>
<div class="testimonial-content">
<ul class="stars">
<li><i class="fa fa-star"></i></li>
<li><i class="fa fa-star"></i></li>
<li><i class="fa fa-star"></i></li>
<li><i class="fa fa-star"></i></li>
<li><i class="fa fa-star"></i></li>
</ul>
<h4>Martino Tino</h4>
<p>“Morbi non mi luctus felis molestie scelerisque. In ac libero viverra, placerat est
interdum, rhoncus leo.”</p>
<span>Web Analyst</span>
</div>
</div>
<div class="item service-item">
<div class="author">
<i><img src="assets/images/testimonial-author-1.png" alt="Author Third"></i>
</div>
<div class="testimonial-content">
<ul class="stars">
<li><i class="fa fa-star"></i></li>
<li><i class="fa fa-star"></i></li>
<li><i class="fa fa-star"></i></li>
</ul>
<h4>George Tasa</h4>
<p>“Fusce rutrum in dolor sit amet lobortis. Ut at vehicula justo. Donec quam dolor,
congue a fringilla sed, maximus et urna.”</p>
<span>System Admin</span>
</div>
</div>
<div class="item service-item">
<div class="author">
<i><img src="assets/images/testimonial-author-1.png" alt="Fourth Author"></i>
</div>
<div class="testimonial-content">
<ul class="stars">
<li><i class="fa fa-star"></i></li>
<li><i class="fa fa-star"></i></li>
<li><i class="fa fa-star"></i></li>
<li><i class="fa fa-star"></i></li>
</ul>
<h4>Sir James</h4>
<p>"Fusce rutrum in dolor sit amet lobortis. Ut at vehicula justo. Donec quam dolor,
congue a fringilla sed, maximus et urna."</p>
<span>New Villager</span>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- ***** Testimonials Ends ***** -->
<!-- ***** Footer Start ***** -->
<footer id="contact-us">
<div class="container">
<div class="footer-content">
<div class="row">
<!-- ***** Contact Form Start ***** -->
<div class="col-lg-6 col-md-12 col-sm-12">
<div class="contact-form">
<form id="contact" action="" method="post">
<div class="row">
<div class="col-md-6 col-sm-12">
<fieldset>
<input name="name" type="text" id="name" placeholder="Full Name" required=""
style="background-color: rgba(250,250,250,0.3);">
</fieldset>
</div>
<div class="col-md-6 col-sm-12">
<fieldset>
<input name="email" type="text" id="email" placeholder="E-Mail Address"
required="" style="background-color: rgba(250,250,250,0.3);">
</fieldset>
</div>
<div class="col-lg-12">
<fieldset>
<textarea name="message" rows="6" id="message" placeholder="Your Message"
required="" style="background-color: rgba(250,250,250,0.3);"></textarea>
</fieldset>
</div>
<div class="col-lg-12">
<fieldset>
<button type="submit" id="form-submit" class="main-button">Send Message
Now</button>
</fieldset>
</div>
</div>
</form>
</div>
</div>
<!-- ***** Contact Form End ***** -->
<div class="right-content col-lg-6 col-md-12 col-sm-12">
<h2>More About <em>FantacyApp</em></h2>
<p>Phasellus dapibus urna vel lacus accumsan, iaculis eleifend leo auctor. Duis at finibus odio.
Vivamus ut pharetra arcu, in porta metus. Suspendisse blandit pulvinar ligula ut elementum.
<br><br>If you need this contact form to send email to your inbox, you may follow our <a
rel="nofollow" href="https://templatemo.com/contact" target="_parent">contact</a> page
for more detail.</p>
<ul class="social">
<li><a href="https://fb.com/templatemo"><i class="fa fa-facebook"></i></a></li>
<li><a href="#"><i class="fa fa-twitter"></i></a></li>
<li><a href="#"><i class="fa fa-linkedin"></i></a></li>
<li><a href="#"><i class="fa fa-rss"></i></a></li>
<li><a href="#"><i class="fa fa-dribbble"></i></a></li>
</ul>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="sub-footer">
<p>Copyright © 2022 FantacyApp Landing Page
| Designed by <a rel="nofollow" href="https://job.fantacydesigns.com/">FantacyDesigns</a></p>
</div>
</div>
</div>
</div>
</footer>
</body>
</html>
Source code of CSS:
CSS is also known as a markup language and we use this language to make our landing pages or website a responsive website across all the devices. We also use it to design a site page are landing pages. The CSS code is given below and you can use this code for free. And for use this code you have to link this code with the file of Html and then it will help you to design your page.
/*
FantacyDesigns Landing Page
https://job.fantacydesigns.com/
*/
/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font & reset css
02. reset
03. global styles
04. header
05. welcome
06. features
07. testimonials
08. contact
09. footer
10. preloader
--------------------------------------------- */
/*
---------------------------------------------
font & reset css
---------------------------------------------
*/
@import url("https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900");
/*
---------------------------------------------
reset
---------------------------------------------
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
margin: 0;
padding: 0;
border: 0;
outline: 0;
}
.clearfix:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
.clearfix {
display: inline-block;
}
html[xmlns] .clearfix {
display: block;
}
* html .clearfix {
height: 1%;
}
ul, li {
padding: 0;
margin: 0;
list-style: none;
}
header, nav, section, article, aside, footer, hgroup {
display: block;
}
* {
box-sizing: border-box;
}
html, body {
font-family: 'Poppins', sans-serif;
font-weight: 400;
background-color: #fff;
font-size: 16px;
-ms-text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
a {
text-decoration: none !important;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 0px;
margin-bottom: 0px;
}
ul {
margin-bottom: 0px;
}
p {
font-size: 15px;
line-height: 25px;
color: #888;
}
/*
---------------------------------------------
global styles
---------------------------------------------
*/
html,
body {
background: #fff;
font-family: 'Poppins', sans-serif;
}
::selection {
background: #f1556a;
color: #fff;
}
::-moz-selection {
background: #f1556a;
color: #fff;
}
@media (max-width: 991px) {
html, body {
overflow-x: hidden;
}
.mobile-top-fix {
margin-top: 30px;
margin-bottom: 0px;
}
.mobile-bottom-fix {
margin-bottom: 30px;
}
.mobile-bottom-fix-big {
margin-bottom: 60px;
}
}
a.main-button-slider {
font-size: 14px;
border-radius: 25px;
padding: 15px 25px;
background-color: #fba70b;
text-transform: uppercase;
color: #fff;
font-weight: 600;
letter-spacing: 1px;
-webkit-transition: all 0.3s ease 0s;
-moz-transition: all 0.3s ease 0s;
-o-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
}
a.main-button-slider:hover {
background-color: #f1556a;
}
a.main-button {
font-size: 14px;
border-radius: 25px;
padding: 15px 25px;
background-color: #f4813f;
text-transform: uppercase;
color: #fff;
font-weight: 600;
letter-spacing: 1px;
-webkit-transition: all 0.3s ease 0s;
-moz-transition: all 0.3s ease 0s;
-o-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
}
a.main-button:hover {
background-color: #f1556a;
}
button.main-button {
outline: none;
border: none;
cursor: pointer;
font-size: 14px;
border-radius: 25px;
padding: 15px 25px;
background-color: #f4813f;
text-transform: uppercase;
color: #fff;
font-weight: 600;
letter-spacing: 1px;
-webkit-transition: all 0.3s ease 0s;
-moz-transition: all 0.3s ease 0s;
-o-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
}
button.main-button:hover {
background-color: #f1556a;
}
.center-heading {
margin-bottom: 70px;
}
.center-heading h2 {
margin-top: 0px;
text-align: center;
font-size: 42px;
font-weight: 700;
color: #1e1e1e;
margin-bottom: 25px;
}
.center-heading h2 em {
font-style: normal;
color: #f4813f;
}
.center-heading p {
font-size: 15px;
color: #888;
text-align: center;
}
/*
---------------------------------------------
header
---------------------------------------------
*/
.background-header {
background-color: #fff;
height: 80px!important;
position: fixed!important;
top: 0px;
left: 0px;
right: 0px;
box-shadow: 0px 0px 10px rgba(0,0,0,0.15)!important;
}
.background-header .logo,
.background-header .main-nav .nav li a {
color: #1e1e1e!important;
}
.background-header .main-nav .nav li:hover a {
color: #fba70b!important;
}
.background-header .nav li a.active {
color: #fba70b!important;
}
.header-area {
position: absolute;
top: 0px;
left: 0px;
right: 0px;
z-index: 100;
height: 100px;
-webkit-transition: all .5s ease 0s;
-moz-transition: all .5s ease 0s;
-o-transition: all .5s ease 0s;
transition: all .5s ease 0s;
}
.header-area .main-nav {
min-height: 80px;
background: transparent;
}
.header-area .main-nav .logo {
line-height: 80px;
color: #191a20;
font-size: 28px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 2px;
float: left;
-webkit-transition: all 0.3s ease 0s;
-moz-transition: all 0.3s ease 0s;
-o-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
}
.header-area .main-nav .nav {
float: left;
margin-top: 27px;
margin-left: 15%;
margin-right: 0px;
background-color: #fff;
padding: 0px 20px;
-webkit-transition: all 0.3s ease 0s;
-moz-transition: all 0.3s ease 0s;
-o-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
position: relative;
z-index: 999;
}
.header-area .main-nav .nav li {
padding-left: 20px;
padding-right: 20px;
}
.header-area .main-nav .nav li:last-child {
padding-right: 0px;
}
.header-area .main-nav .nav li a {
display: block;
font-weight: 500;
font-size: 13px;
color: #7a7a7a;
text-transform: uppercase;
-webkit-transition: all 0.3s ease 0s;
-moz-transition: all 0.3s ease 0s;
-o-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
height: 40px;
line-height: 40px;
border: transparent;
letter-spacing: 1px;
}
.header-area .main-nav .nav li:hover a {
color: #fba70b;
}
.header-area .main-nav .nav li.submenu {
position: relative;
padding-right: 35px;
}
.header-area .main-nav .nav li.submenu:after {
font-family: FontAwesome;
content: "\f107";
font-size: 12px;
color: #7a7a7a;
position: absolute;
right: 18px;
top: 12px;
}
.header-area .main-nav .nav li.submenu ul {
position: absolute;
width: 200px;
box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.06);
overflow: hidden;
top: 40px;
opacity: 0;
transform: translateY(-2em);
visibility: hidden;
z-index: -1;
transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}
.header-area .main-nav .nav li.submenu ul li {
margin-left: 0px;
padding-left: 0px;
padding-right: 0px;
}
.header-area .main-nav .nav li.submenu ul li a {
display: block;
background: #fff;
color: #7a7a7a!important;
padding-left: 20px;
height: 40px;
line-height: 40px;
-webkit-transition: all 0.3s ease 0s;
-moz-transition: all 0.3s ease 0s;
-o-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
position: relative;
font-size: 13px;
border-bottom: 1px solid #f5f5f5;
}
.header-area .main-nav .nav li.submenu ul li a:before {
content: '';
position: absolute;
width: 0px;
height: 40px;
left: 0px;
top: 0px;
bottom: 0px;
-webkit-transition: all 0.3s ease 0s;
-moz-transition: all 0.3s ease 0s;
-o-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
background: #fba70b;
}
.header-area .main-nav .nav li.submenu ul li a:hover {
background: #fff;
color: #fba70b!important;
padding-left: 25px;
}
.header-area .main-nav .nav li.submenu ul li a:hover:before {
width: 3px;
}
.header-area .main-nav .nav li.submenu:hover ul {
visibility: visible;
opacity: 1;
z-index: 1;
transform: translateY(0%);
transition-delay: 0s, 0s, 0.3s;
}
.header-area .main-nav .menu-trigger {
cursor: pointer;
display: block;
position: absolute;
top: 23px;
width: 32px;
height: 40px;
text-indent: -9999em;
z-index: 99;
right: 40px;
display: none;
}
.header-area .main-nav .menu-trigger span,
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
-moz-transition: all 0.4s;
-o-transition: all 0.4s;
-webkit-transition: all 0.4s;
transition: all 0.4s;
background-color: #1e1e1e;
display: block;
position: absolute;
width: 30px;
height: 2px;
left: 0;
}
.background-header .main-nav .menu-trigger span,
.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
background-color: #1e1e1e;
}
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
-moz-transition: all 0.4s;
-o-transition: all 0.4s;
-webkit-transition: all 0.4s;
transition: all 0.4s;
background-color: #1e1e1e;
display: block;
position: absolute;
width: 30px;
height: 2px;
left: 0;
width: 75%;
}
.background-header .main-nav .menu-trigger span:before,
.background-header .main-nav .menu-trigger span:after {
background-color: #1e1e1e;
}
.header-area .main-nav .menu-trigger span:before,
.header-area .main-nav .menu-trigger span:after {
content: "";
}
.header-area .main-nav .menu-trigger span {
top: 16px;
}
.header-area .main-nav .menu-trigger span:before {
-moz-transform-origin: 33% 100%;
-ms-transform-origin: 33% 100%;
-webkit-transform-origin: 33% 100%;
transform-origin: 33% 100%;
top: -10px;
z-index: 10;
}
.header-area .main-nav .menu-trigger span:after {
-moz-transform-origin: 33% 0;
-ms-transform-origin: 33% 0;
-webkit-transform-origin: 33% 0;
transform-origin: 33% 0;
top: 10px;
}
.header-area .main-nav .menu-trigger.active span,
.header-area .main-nav .menu-trigger.active span:before,
.header-area .main-nav .menu-trigger.active span:after {
background-color: transparent;
width: 100%;
}
.header-area .main-nav .menu-trigger.active span:before {
-moz-transform: translateY(6px) translateX(1px) rotate(45deg);
-ms-transform: translateY(6px) translateX(1px) rotate(45deg);
-webkit-transform: translateY(6px) translateX(1px) rotate(45deg);
transform: translateY(6px) translateX(1px) rotate(45deg);
background-color: #1e1e1e;
}
.background-header .main-nav .menu-trigger.active span:before {
background-color: #1e1e1e;
}
.header-area .main-nav .menu-trigger.active span:after {
-moz-transform: translateY(-6px) translateX(1px) rotate(-45deg);
-ms-transform: translateY(-6px) translateX(1px) rotate(-45deg);
-webkit-transform: translateY(-6px) translateX(1px) rotate(-45deg);
transform: translateY(-6px) translateX(1px) rotate(-45deg);
background-color: #1e1e1e;
}
.background-header .main-nav .menu-trigger.active span:after {
background-color: #1e1e1e;
}
.header-area.header-sticky {
min-height: 80px;
}
.header-area.header-sticky .nav {
margin-top: 20px !important;
}
.header-area.header-sticky .nav li a.active {
color: #fba70b;
}
@media (max-width: 1200px) {
.header-area .main-nav .nav li {
padding-left: 12px;
padding-right: 12px;
}
.header-area .main-nav:before {
display: none;
}
}
@media (max-width: 991px) {
.logo {
text-align: center;
float: none!important;
}
.header-area {
background-color: #f7f7f7;
padding: 0px 15px;
height: 80px;
box-shadow: none;
text-align: center;
}
.header-area .container {
padding: 0px;
}
.header-area .logo {
margin-left: 30px;
}
.header-area .menu-trigger {
display: block !important;
}
.header-area .main-nav {
overflow: hidden;
}
.header-area .main-nav .nav {
float: none;
width: 100%;
margin-top: 0px !important;
display: none;
-webkit-transition: all 0s ease 0s;
-moz-transition: all 0s ease 0s;
-o-transition: all 0s ease 0s;
transition: all 0s ease 0s;
margin-left: 0px;
}
.header-area .main-nav .nav li:first-child {
border-top: 1px solid #eee;
}
.header-area .main-nav .nav li {
width: 100%;
background: #fff;
border-bottom: 1px solid #eee;
padding-left: 0px !important;
padding-right: 0px !important;
}
.header-area .main-nav .nav li a {
height: 50px !important;
line-height: 50px !important;
padding: 0px !important;
border: none !important;
background: #f7f7f7 !important;
color: #191a20 !important;
}
.header-area .main-nav .nav li a:hover {
background: #eee !important;
color: #fba70b!important;
}
.header-area .main-nav .nav li.submenu ul {
position: relative;
visibility: inherit;
opacity: 1;
z-index: 1;
transform: translateY(0%);
transition-delay: 0s, 0s, 0.3s;
top: 0px;
width: 100%;
box-shadow: none;
height: 0px;
}
.header-area .main-nav .nav li.submenu ul li a {
font-size: 12px;
font-weight: 400;
}
.header-area .main-nav .nav li.submenu ul li a:hover:before {
width: 0px;
}
.header-area .main-nav .nav li.submenu ul.active {
height: auto !important;
}
.header-area .main-nav .nav li.submenu:after {
color: #3B566E;
right: 25px;
font-size: 14px;
top: 15px;
}
.header-area .main-nav .nav li.submenu:hover ul, .header-area .main-nav .nav li.submenu:focus ul {
height: 0px;
}
}
@media (min-width: 992px) {
.header-area .main-nav .nav {
display: flex !important;
}
}
/*
---------------------------------------------
welcome
---------------------------------------------
*/
.welcome-area {
width: 100%;
height: 100vh;
min-height: 793px;
background-image: url(../images/banner-bg.png);
background-repeat: no-repeat;
background-position: right top;
}
.welcome-area .header-text .left-text {
position: relative;
align-self: center;
margin-top: 35%;
transform: perspective(1px) translateY(-30%) !important;
}
.welcome-area .header-text h1 {
font-weight: 900;
font-size: 52px;
line-height: 80px;
letter-spacing: 1px;
margin-bottom: 30px;
color: #191a20;
}
.welcome-area .header-text h1 em {
font-style: normal;
color: #fba70b;
}
.welcome-area .header-text p {
font-weight: 300;
font-size: 17px;
color: #7a7a7a;
line-height: 30px;
letter-spacing: 0.25px;
margin-bottom: 40px;
position: relative;
}
@media (max-width: 1420px) {
.welcome-area .header-text {
width: 70%;
margin-left: 5%;
}
}
@media (max-width: 1320px) {
.welcome-area .header-text .left-text {
margin-top: 50%;
}
.welcome-area .header-text {
width: 50%;
margin-left: 5%;
}
}
@media (max-width: 1140px) {
.welcome-area {
height: auto;
}
.welcome-area .header-text {
width: 92%;
padding-top: 793px;
}
.welcome-area .header-text .left-text {
margin-top: 5%;
transform: none !important;
}
}
@media (max-width: 810px) {
.welcome-area {
background-size: contain;
}
.welcome-area .header-text {
padding-top: 100%;
margin-left: 0;
}
.container-fluid .col-md-12 {
margin-right: 0px;
padding-right: 0px;
}
}
/*
---------------------------------------------
about
---------------------------------------------
*/
#about {
padding: 100px 0px;
position: relative;
z-index: 9;
}
@media (max-width: 992px) {
.features-item {
margin-bottom: 45px;
}
}
.features-item {
border-radius: 5px;
padding: 60px 30px;
text-align: center;
box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}
.features-item h2 {
z-index: 9;
position: absolute;
top: 15px;
left: 45px;
font-size: 100px;
font-weight: 600;
color: #fdefe9;
}
.features-item img {
z-index: 10;
position: relative;
max-width: 100%;
margin-bottom: 40px;
}
.features-item h4 {
margin-top: 0px;
font-size: 22px;
color: #1e1e1e;
margin-bottom: 25px;
}
.features-item .main-button {
margin-top: 35px;
display: inline-block;
}
/*
---------------------------------------------
promotion
---------------------------------------------
*/
.left-image-decor {
background-image: url(../images/left-bg-decor.png);
background-repeat: no-repeat;
position: absolute;
width: 100%;
display: inline-block;
height: 110%;
margin-top: -200px;
}
#promotion {
padding: 100px 0px;
}
#promotion .left-image {
align-self: center;
}
#promotion .right-text ul {
padding: 0;
margin: 0;
}
#promotion .right-text ul li {
display: inline-block;
margin-bottom: 60px;
}
#promotion .right-text ul li:last-child {
margin-bottom: 0px;
}
#promotion .right-text img {
display: inline-block;
float: left;
margin-right: 30px;
}
#promotion .right-text h4 {
font-size: 22px;
color: #1e1e1e;
margin-bottom: 15px;
margin-top: 3px;
}
/*
--------------------------------------------
testimonials
--------------------------------------------
*/
.right-image-decor {
background-image: url(../images/right-bg-decor.png);
background-repeat: no-repeat;
background-position: right center;
position: absolute;
width: 100%;
display: inline-block;
height: 110%;
margin-top: -200px;
}
#testimonials {
padding-top: 100px;
position: relative;
z-index: 9;
}
#testimonials .item {
position: relative;
}
#testimonials .item .testimonial-content {
background: rgb(244,129,63);
background: linear-gradient(145deg, rgba(244,129,63,1) 0%, rgba(241,85,106,1) 100%);
margin-left: 60px;
padding: 40px 30px;
text-align: center;
border-radius: 5px;
}
#testimonials .item .testimonial-content ul li {
display: inline-block;
margin: 0px 1px;
}
#testimonials .item .testimonial-content ul li i {
color: #fff;
font-size: 13px;
}
#testimonials .item .testimonial-content h4 {
font-size: 22px;
margin-top: 20px;
color: #fff;
}
#testimonials .item .testimonial-content p {
color: #fff;
font-style: italic;
font-weight: 200;
margin: 20px 0px 15px 0px;
}
#testimonials .item .testimonial-content span {
color: #fff;
font-weight: 200;
font-size: 13px;
}
#testimonials .author img {
max-width: 120px;
margin-bottom: -60px;
}
.owl-carousel .owl-nav button.owl-next span {
z-index: 10;
top: 45%;
border-radius: 10px;
font-size: 46px;
color: #fff;
right: -210px;
width: 80px;
height: 80px;
line-height: 80px;
text-align: center;
display: inline-block;
background: rgb(244,129,63);
background: linear-gradient(145deg, rgba(244,129,63,1) 0%, rgba(241,85,106,1) 100%);
position: absolute;
}
.owl-carousel .owl-nav button.owl-prev span {
z-index: 9;
top: 30%;
border-radius: 10px;
font-size: 46px;
color: #fff;
right: -150px;
width: 80px;
height: 80px;
line-height: 80px;
text-align: center;
display: inline-block;
background: rgb(244,129,63);
background: linear-gradient(145deg, rgba(244,129,63,1) 0%, rgba(241,85,106,1) 100%);
position: absolute;
}
@media screen and (max-width: 1060px) {
.owl-carousel .owl-nav {
display: none!important;
}
}
/*
---------------------------------------------
footer
---------------------------------------------
*/
@media (max-width: 992px) {
footer {
padding-top: 0px!important;
margin-top: 0px!important;
}
.contact-form {
margin-bottom: 45px;
}
footer .right-content {
text-align: center;
}
footer .footer-content {
padding: 60px 0px!important;
}
}
footer {
margin-top: 200px;
padding-top: 120px;
background-image: url(../images/footer-bg.png);
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
width: 100%;
}
footer .footer-content {
padding: 120px 0px;
}
.contact-form {
position: relative;
z-index: 10;
padding: 45px;
border-radius: 5px;
background-color: #fff;
box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}
footer .right-content {
align-self: center;
}
.contact-form input,
.contact-form textarea {
color: #777;
font-size: 13px;
border: 1px solid #eee;
background-color: #f7f7f7;
border-radius: 5px;
width: 100%;
height: 50px;
outline: none;
padding-left: 20px;
padding-right: 20px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
margin-bottom: 30px;
}
.contact-form textarea {
height: 150px;
resize: none;
padding: 20px;
}
.contact-form {
text-align: center;
}
.contact-form ::-webkit-input-placeholder { /* Edge */
color: #7a7a7a;
}
.contact-form :-ms-input-placeholder { /* Internet Explorer 10-11 */
color: #7a7a7a;
}
.contact-form ::placeholder {
color: #7a7a7a;
}
.footer-content .right-content {
color: #fff;
}
.footer-content .right-content h2 {
margin-top: 0px;
margin-bottom: 30px;
font-size: 42px;
text-transform: capitalize;
font-weight: 700;
letter-spacing: 1px;
}
.footer-content .right-content h2 em {
font-style: normal;
color: #fba70b;
}
.footer-content .right-content p {
color: #FFF;
}
.footer-content .right-content a {
color: #FFF;
}
.footer-content .right-content a:hover {
color: #FC3;
}
footer .social {
overflow: hidden;
margin-top: 30px;
}
footer .social li:first-child {
margin-left: 0px;
}
footer .social li {
margin: 0px 7.5px;
display: inline-block;
}
footer .social li a {
color: #fff;
text-align: center;
background-color: transparent;
border: 1px solid #fff;
width: 44px;
height: 44px;
line-height: 44px;
border-radius: 50%;
display: inline-block;
font-size: 16px;
-webkit-transition: all 0.3s ease 0s;
-moz-transition: all 0.3s ease 0s;
-o-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
}
footer .social li a:hover {
background-color: #fba70b;
border-color: #fba70b;
color: #fff;
}
footer .copyright {
margin-top: 10px;
font-weight: 400;
font-size: 15px;
color: #4a4a4a;
letter-spacing: 0.88px;
text-transform: capitalize;
}
footer .sub-footer {
padding: 60px 0px;
border-top: 1px solid rgba(250,250,250,0.3);
text-align: center;
}
footer .sub-footer a {
color: #FFF;
}
footer .sub-footer a:hover {
color: #FC3;
}
footer .sub-footer p {
color: #fff;
font-size: 15px;
font-weight: 300;
letter-spacing: 0.5px;
}
@media (max-width: 991px) {
footer .copyright {
text-align: center;
}
footer .social {
text-align: center;
}
}
/*
---------------------------------------------
preloader
---------------------------------------------
*/
#preloader {
overflow: hidden;
background-image: linear-gradient(145deg, #f4813f 0%, #f1556a 100%);
left: 0;
right: 0;
top: 0;
bottom: 0;
position: fixed;
z-index: 9999;
color: #fff;
}
#preloader .jumper {
left: 0;
top: 0;
right: 0;
bottom: 0;
display: block;
position: absolute;
margin: auto;
width: 50px;
height: 50px;
}
#preloader .jumper > div {
background-color: #fff;
width: 10px;
height: 10px;
border-radius: 100%;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
position: absolute;
opacity: 0;
width: 50px;
height: 50px;
-webkit-animation: jumper 1s 0s linear infinite;
animation: jumper 1s 0s linear infinite;
}
#preloader .jumper > div:nth-child(2) {
-webkit-animation-delay: 0.33333s;
animation-delay: 0.33333s;
}
#preloader .jumper > div:nth-child(3) {
-webkit-animation-delay: 0.66666s;
animation-delay: 0.66666s;
}
@-webkit-keyframes jumper {
0% {
opacity: 0;
-webkit-transform: scale(0);
transform: scale(0);
}
5% {
opacity: 1;
}
100% {
-webkit-transform: scale(1);
transform: scale(1);
opacity: 0;
}
}
@keyframes jumper {
0% {
opacity: 0;
-webkit-transform: scale(0);
transform: scale(0);
}
5% {
opacity: 1;
}
100% {
opacity: 0;
}
}
/* ====================================================================================================================
* FONT-FACE
* ====================================================================================================================*/
@font-face {
font-family: 'flexslider-icon';
src: url('../fonts/flexslider-icon.eot');
src: url('../fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('../fonts/flexslider-icon.woff') format('woff'), url('../fonts/flexslider-icon.ttf') format('truetype'), url('../fonts/flexslider-icon.svg#flexslider-icon') format('svg');
font-weight: normal;
font-style: normal;
}
/* ====================================================================================================================
* RESETS
* ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover {
outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
margin: 0;
padding: 0;
list-style: none;
}
.flex-pauseplay span {
text-transform: capitalize;
}
/* ====================================================================================================================
* BASE STYLES
* ====================================================================================================================*/
.flexslider {
margin: 0;
padding: 0;
}
.flexslider .slides > li {
display: none;
-webkit-backface-visibility: hidden;
}
.flexslider .slides img {
width: 100%;
display: block;
}
.flexslider .slides:after {
content: "\0020";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
html[xmlns] .flexslider .slides {
display: block;
}
* html .flexslider .slides {
height: 1%;
}
.no-js .flexslider .slides > li:first-child {
display: block;
}
/* ====================================================================================================================
* DEFAULT THEME
* ====================================================================================================================*/
.flexslider {
margin: 0;
background: #fff;
border: 4px solid #fff;
position: relative;
zoom: 1;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
-webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
-moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
-o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
}
.flexslider .slides {
zoom: 1;
}
.flexslider .slides img {
height: auto;
-moz-user-select: none;
}
.flex-viewport {
max-height: 2000px;
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
-ms-transition: all 1s ease;
-o-transition: all 1s ease;
transition: all 1s ease;
}
.loading .flex-viewport {
max-height: 300px;
}
@-moz-document url-prefix() {
.loading .flex-viewport {
max-height: none;
}
}
.carousel li {
margin-right: 5px;
}
.flex-direction-nav {
*height: 0;
}
.flex-direction-nav a {
text-decoration: none;
display: block;
width: 40px;
height: 40px;
line-height: 40px;
margin: -20px 0 0;
position: absolute;
top: 50%;
z-index: 10;
overflow: hidden;
opacity: 0;
cursor: pointer;
color: rgba(0, 0, 0, 0.8);
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
.flex-direction-nav a:before {
font-family: "flexslider-icon";
font-size: 26px;
display: inline-block;
content: '\f001';
color: rgba(0, 0, 0, 0.8);
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}
.flex-direction-nav a.flex-next:before {
content: '\f002';
}
.flex-direction-nav .flex-prev {
left: -50px;
}
.flex-direction-nav .flex-next {
right: -50px;
text-align: right;
}
.flexslider:hover .flex-direction-nav .flex-prev {
opacity: 0.7;
left: 10px;
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-next {
opacity: 0.7;
right: 10px;
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
opacity: 1;
}
.flex-direction-nav .flex-disabled {
opacity: 0!important;
filter: alpha(opacity=0);
cursor: default;
z-index: -1;
}
.flex-pauseplay a {
display: block;
width: 20px;
height: 20px;
position: absolute;
bottom: 5px;
left: 10px;
opacity: 0.8;
z-index: 10;
overflow: hidden;
cursor: pointer;
color: #000;
}
.flex-pauseplay a:before {
font-family: "flexslider-icon";
font-size: 20px;
display: inline-block;
content: '\f004';
}
.flex-pauseplay a:hover {
opacity: 1;
}
.flex-pauseplay a.flex-play:before {
content: '\f003';
}
.flex-control-nav {
width: 100%;
position: absolute;
bottom: -40px;
text-align: center;
}
.flex-control-nav li {
margin: 0 6px;
display: inline-block;
zoom: 1;
*display: inline;
}
.flex-control-paging li a {
width: 11px;
height: 11px;
display: block;
background: #666;
background: rgba(0, 0, 0, 0.5);
cursor: pointer;
text-indent: -9999px;
-webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
-moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
-o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
}
.flex-control-paging li a:hover {
background: #333;
background: rgba(0, 0, 0, 0.7);
}
.flex-control-paging li a.flex-active {
background: #000;
background: rgba(0, 0, 0, 0.9);
cursor: default;
}
.flex-control-thumbs {
margin: 5px 0 0;
position: static;
overflow: hidden;
}
.flex-control-thumbs li {
width: 25%;
float: left;
margin: 0;
}
.flex-control-thumbs img {
width: 100%;
height: auto;
display: block;
opacity: .7;
cursor: pointer;
-moz-user-select: none;
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
-ms-transition: all 1s ease;
-o-transition: all 1s ease;
transition: all 1s ease;
}
.flex-control-thumbs img:hover {
opacity: 1;
}
.flex-control-thumbs .flex-active {
opacity: 1;
cursor: default;
}
/* ====================================================================================================================
* RESPONSIVE
* ====================================================================================================================*/
@media screen and (max-width: 860px) {
.flex-direction-nav .flex-prev {
opacity: 1;
left: 10px;
}
.flex-direction-nav .flex-next {
opacity: 1;
right: 10px;
}
}
span{
color: #fba70b;
}
.owl-carousel {
display: none;
width: 100%;
-webkit-tap-highlight-color: transparent;
/* position relative and z-index fix webkit rendering fonts issue */
position: relative;
z-index: 1; }
.owl-carousel .owl-stage {
position: relative;
-ms-touch-action: pan-Y;
touch-action: manipulation;
-moz-backface-visibility: hidden;
/* fix firefox animation glitch */ }
.owl-carousel .owl-stage:after {
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0; }
.owl-carousel .owl-stage-outer {
position: relative;
overflow: hidden;
/* fix for flashing background */
-webkit-transform: translate3d(0px, 0px, 0px); }
.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-ms-backface-visibility: hidden;
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
-ms-transform: translate3d(0, 0, 0); }
.owl-carousel .owl-item {
position: relative;
min-height: 1px;
float: left;
-webkit-backface-visibility: hidden;
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none; }
.owl-carousel .owl-item img {
display: block;
width: 100%; }
.owl-carousel .owl-nav.disabled,
.owl-carousel .owl-dots.disabled {
display: none; }
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-dot {
cursor: pointer;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next,
.owl-carousel button.owl-dot {
background: none;
color: inherit;
border: none;
padding: 0 !important;
font: inherit; }
.owl-carousel.owl-loaded {
display: block; }
.owl-carousel.owl-loading {
opacity: 0;
display: block; }
.owl-carousel.owl-hidden {
opacity: 0; }
.owl-carousel.owl-refresh .owl-item {
visibility: hidden; }
.owl-carousel.owl-drag .owl-item {
-ms-touch-action: pan-y;
touch-action: pan-y;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
.owl-carousel.owl-grab {
cursor: move;
cursor: grab; }
.owl-carousel.owl-rtl {
direction: rtl; }
.owl-carousel.owl-rtl .owl-item {
float: right; }
/* No Js */
.no-js .owl-carousel {
display: block; }
/*
* Owl Carousel - Animate Plugin
*/
.owl-carousel .animated {
animation-duration: 1000ms;
animation-fill-mode: both; }
.owl-carousel .owl-animated-in {
z-index: 0; }
.owl-carousel .owl-animated-out {
z-index: 1; }
.owl-carousel .fadeOut {
animation-name: fadeOut; }
@keyframes fadeOut {
0% {
opacity: 1; }
100% {
opacity: 0; } }
/*
* Owl Carousel - Auto Height Plugin
*/
.owl-height {
transition: height 500ms ease-in-out; }
/*
* Owl Carousel - Lazy Load Plugin
*/
.owl-carousel .owl-item {
/**
This is introduced due to a bug in IE11 where lazy loading combined with autoheight plugin causes a wrong
calculation of the height of the owl-item that breaks page layouts
*/ }
.owl-carousel .owl-item .owl-lazy {
opacity: 0;
transition: opacity 400ms ease; }
.owl-carousel .owl-item .owl-lazy[src^=""], .owl-carousel .owl-item .owl-lazy:not([src]) {
max-height: 0; }
.owl-carousel .owl-item img.owl-lazy {
transform-style: preserve-3d; }
/*
* Owl Carousel - Video Plugin
*/
.owl-carousel .owl-video-wrapper {
position: relative;
height: 100%;
background: #000; }
.owl-carousel .owl-video-play-icon {
position: absolute;
height: 80px;
width: 80px;
left: 50%;
top: 50%;
margin-left: -40px;
margin-top: -40px;
background: url("owl.video.play.png") no-repeat;
cursor: pointer;
z-index: 1;
-webkit-backface-visibility: hidden;
transition: transform 100ms ease; }
.owl-carousel .owl-video-play-icon:hover {
-ms-transform: scale(1.3, 1.3);
transform: scale(1.3, 1.3); }
.owl-carousel .owl-video-playing .owl-video-tn,
.owl-carousel .owl-video-playing .owl-video-play-icon {
display: none; }
.owl-carousel .owl-video-tn {
opacity: 0;
height: 100%;
background-position: center center;
background-repeat: no-repeat;
background-size: contain;
transition: opacity 400ms ease; }
.owl-carousel .owl-video-frame {
position: relative;
z-index: 1;
height: 100%;
width: 100%; }
Source code of javascript:
JavaScript is a dynamic language and we use this language to add functionality to our website or web pages. It helps us to create different types of events and when we click on any button then it helps us to move across the different pages on the Internet. The code of JavaScript is given below and you can use this code along with Html and CSS.
(function ($) {
"use strict";
$('.owl-carousel').owlCarousel({
loop: true,
margin: 30,
nav: true,
pagination: true,
responsive: {
0: {
items: 1
},
600: {
items: 1
},
1000: {
items: 2
}
}
})
$(window).scroll(function () {
var scroll = $(window).scrollTop();
var box = $('.header-text').height();
var header = $('header').height();
if (scroll >= box - header) {
$("header").addClass("background-header");
} else {
$("header").removeClass("background-header");
}
});
// Window Resize Mobile Menu Fix
mobileNav();
// Scroll animation init
window.sr = new scrollReveal();
// Menu Dropdown Toggle
if ($('.menu-trigger').length) {
$(".menu-trigger").on('click', function () {
$(this).toggleClass('active');
$('.header-area .nav').slideToggle(200);
});
}
// Menu elevator animation
$('a[href*=\\#]:not([href=\\#])').on('click', function () {
if (location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') && location.hostname == this.hostname) {
var targetHash = this.hash;
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) + ']');
if (target.length) {
var width = $(window).width();
if (width < 991) {
$('.menu-trigger').removeClass('active');
$('.header-area .nav').slideUp(200);
}
$('html,body').animate({
scrollTop: (target.offset().top)
}, 700, 'swing', function () {
window.location.hash = targetHash;
});
return false;
}
}
});
$(document).ready(function () {
$('a[href^="#welcome"]').addClass('active');
//smoothscroll
$('.menu-item').on('click', function (e) {
e.preventDefault();
var athis = this;
var target = this.hash,
menu = target;
var $target = $(target);
$('html, body').stop().animate({
'scrollTop': $target.offset().top
}, 500, 'swing', function () {
window.location.hash = target;
$('.menu-item').removeClass('active');
$(athis).addClass('active');
});
});
$(window).scroll(function (event) {
var scrollPos = $(document).scrollTop() + 80;
if (scrollPos === 0) {
$('a[href^="#welcome"]').addClass('active');
return;
}
$('.menu-item').not('[href=""]').not('[href="javascript:;"]').each(function () {
var currLink = $(this);
var refElement = $(currLink.attr("href"));
if (refElement.position().top <= scrollPos && refElement.position().top + refElement.height() > scrollPos) {
$('.menu-item').removeClass("active");
currLink.addClass("active");
} else {
currLink.removeClass("active");
}
});
})
});
const Accordion = {
settings: {
// Expand the first item by default
first_expanded: false,
// Allow items to be toggled independently
toggle: false
},
openAccordion: function (toggle, content) {
if (content.children.length) {
toggle.classList.add("is-open");
let final_height = Math.floor(content.children[0].offsetHeight);
content.style.height = final_height + "px";
}
},
closeAccordion: function (toggle, content) {
toggle.classList.remove("is-open");
content.style.height = 0;
},
init: function (el) {
const _this = this;
// Override default settings with classes
let is_first_expanded = _this.settings.first_expanded;
if (el.classList.contains("is-first-expanded")) is_first_expanded = true;
let is_toggle = _this.settings.toggle;
if (el.classList.contains("is-toggle")) is_toggle = true;
// Loop through the accordion's sections and set up the click behavior
const sections = el.getElementsByClassName("accordion");
const all_toggles = el.getElementsByClassName("accordion-head");
const all_contents = el.getElementsByClassName("accordion-body");
for (let i = 0; i < sections.length; i++) {
const section = sections[i];
const toggle = all_toggles[i];
const content = all_contents[i];
// Click behavior
toggle.addEventListener("click", function (e) {
if (!is_toggle) {
// Hide all content areas first
for (let a = 0; a < all_contents.length; a++) {
_this.closeAccordion(all_toggles[a], all_contents[a]);
}
// Expand the clicked item
_this.openAccordion(toggle, content);
} else {
// Toggle the clicked item
if (toggle.classList.contains("is-open")) {
_this.closeAccordion(toggle, content);
} else {
_this.openAccordion(toggle, content);
}
}
});
// Expand the first item
if (i === 0 && is_first_expanded) {
_this.openAccordion(toggle, content);
}
}
}
};
(function () {
// Initiate all instances on the page
const accordions = document.getElementsByClassName("accordions");
for (let i = 0; i < accordions.length; i++) {
Accordion.init(accordions[i]);
}
})();
// Home seperator
if ($('.home-seperator').length) {
$('.home-seperator .left-item, .home-seperator .right-item').imgfix();
}
// Home number counterup
if ($('.count-item').length) {
$('.count-item strong').counterUp({
delay: 10,
time: 1000
});
}
// Page loading animation
$(window).on('load', function () {
if ($('.cover').length) {
$('.cover').parallax({
imageSrc: $('.cover').data('image'),
zIndex: '1'
});
}
$("#preloader").animate({
'opacity': '0'
}, 600, function () {
setTimeout(function () {
$("#preloader").css("visibility", "hidden").fadeOut();
}, 300);
});
});
// Window Resize Mobile Menu Fix
$(window).on('resize', function () {
mobileNav();
});
// Window Resize Mobile Menu Fix
function mobileNav() {
var width = $(window).width();
$('.submenu').on('click', function () {
if (width < 992) {
$('.submenu ul').removeClass('active');
$(this).find('ul').toggleClass('active');
}
});
}
})(window.jQuery);
Download the source code for free:
All the code of Html, CSS, and JavaScript is provided but sometimes it is difficult for learners or new users to create Html, CSS, and JavaScript files. Then connect these files with each other. For such types of people, we have created a zip file. In this file, we have uploaded all the files of Html, CSS, and Javascript, and these files are connected with each other also we have uploaded all the pictures and icons of this learning page in this file by clicking on the below download button you can download all the files of Html CSS and JavaScript.
Task:
In this post, we have discussed a lot about different parts of the landing page. How to create these sections and how to design them. All of these things are discussed along with the source code. Now you have to add some features to this page.
Task: Change the content of all the landing pages including text, heading, paragraph, and images as well. Then change the color of all the sections and font family. Replace given icons with new icons and import new icons from fontawesome website.
I hope you have liked this post and if you have learned anything from this first then you can share it or like this post.
Thanks for reading this post
[su_divider divider_color=”#1dbf73″ link_color=”#1dbf73″]
[su_button url=”https://mega.nz/file/Ug8xmbTB#MREbC20ZyuVxMbZgdS4uKciKN5o96fnyp4qcfW8fHaA” target=”blank” style=”3d” background=”#1dbf73″ size=”5″ radius=”5″ desc=”Click to Download” id=”download”]Download Source Code[/su_button]