How to Create A Dark Theme Website Using HTML

Dark Theme Website Using HTML

Dark Theme Website

Learn How to Make a Dark Theme Website Using HTML, CSS, and jQuery. It is easy to make a Dark Theme Website Using HTML, CSS, and JS. You will easily make this Dark theme website by following my video tutorial, Which I Haven given below. HTML, CSS, and JavaScript codes are also given below.

HostGator Web Hosting

How to Make A Dark Theme Website Using HTML, CSS, and jQuery

  1. 0.0 - 1.00 min : Intro
  2. 1.00 - 37.0 min: How to Create A Great Dark Website Design Using HTML And CSS



Dark Theme Website HTML

You can easily make this Dark Theme Website by watching my youtube video tutorial which I gave at the start of this post or by copy the HTML, CSS, and JavaScript code that I give below. Paste this HTML, CSS, and JavaScript code into your HTML, CSS, and JavaScript file. On the youtube video tutorial, I tell you all the important points which help you to make the Dark Theme Website like that for your website. So I recommended you watch the Dark Theme Website video Tutorial on how can I make this Dark Theme Website. This Dark Theme Website is fully responsive and all browsers compatible. HTML and CSS code I have given below this code help you to better understand my Dark Theme Website video tutorial on how I make this. You can use this without any copyright.

About This Tutorial

In this tutorial, I will teach you How to make a Dark Theme Website Using HTML, CSS, and jQuery. In the Video tutorial first, I show the design which I will create in this tutorial, then I will start making this Template. I hope you Like my tutorial. If you have any questions or problems with this tutorial, Contact me.

HTML

<!--doctype html-->
<html>
<head>
<meta charset="utf-8">
<title>Site</title>
<link rel="stylesheet" href="css/style.css"/>
</head>

<body>
<!--Navigation-Start-->
<div class="navigation">

<a href="#" class="logo"><img src="images/logo.png"></a>
<div class="menu">

<ul>
<li>
<div class="hover active-menu"><a href="#">Home</a></div>
</li>
<li>
<div class="hover"><a href="#">About</a></div>
</li>
<li>
<div class="hover"><a href="#">Contact</a></div>
</li>
<li>
<div class="hover"><a href="#">team</a></div>
</li>
</ul>

</div>
</div>
<!--navigation-End-->
<!--Slide-button-->
<div class="slide-button ">
<div class="About-btn">
<a href="#">RACING CAR</a>
</div>
<div class="information-btn active-line">
<a href="#">NATURAL</a>
</div>

</div>
<!--contents-->

<div class="wrapper">
<!--information-container-->
<div class="information-container active-slide">
<div class="img-container">
<img src="images/tree.png">
</div>
<div class="text-container">
<h1>Black<font style="color:#de3737; font-size:50px;"> & </font>White</h1>
<h2>Website<font style="font-size:30px;">.Design</font></h2>
<p>
In this video tutorial i am gonna show you how to create a proffesional black
and white website design using HTML,CSS ans Js
</p>
<a href="#">www.youtube.com/goingtointenet</a>
</div>
</div>
<!--about-container-->
<div class="about-container">
<div class="img-container">
<img src="images/car2.png">
</div>
<div class="text-container">
<h1>White <font color="#de3737">Car</font></h1>
<h2>Website<font style="font-size:30px;">.Design</font></h2>
<p>
In this video tutorial i am gonna show you how to create a proffesional black
and white website design using HTML,CSS ans Js
</p>
<a href="#">www.youtube.com/goingtointenet</a>
</div>
</div>
</div>
<!--contact-slide-button-->
<div class="contact-btn">
<div class="first-num active-num">
<a href="#"><h1>01</h1></a>
</div>
<div class="second-num">
<a href="#"><h1>02</h1></a>
</div>
</div>
<!--conatct-info-table-->

<!--table-info-1-->
<table class="info-1 active-contact">
<tr>
<td><b>OFFICE</b></td>
<td><b>GET IN TOUCH</b></td>
</tr>
<tr>
<td>Maqbara Mor,Charbuji</td>
<td>T. +923075307353</td>
</tr>
<tr>
<td>Lahore,Pakistan</td>
<td>E. Touseeqijaz@gmail.com</td>
</tr>

</table>
<!--table-info-2-->
<table class="info-2">
<tr>
<td><b>SECOND OFFICE</b></td>
<td><b>GET IN TOUCH</b></td>
</tr>
<tr>
<td>Shahdara,lahore</td>
<td>T. +923075307353</td>
</tr>
<tr>
<td>Lahore,Pakistan</td>
<td>E. Touseeqijazhmm@gmail.com</td>
</tr>

</table>
<!--social links-->
<div class="social">
<ul>
<li><a href="#"><img src="images/facebook.png"></a></li>
<li><a href="#"><img src="images/instagram.png"></a></li>
<li><a href="#"><img src="images/twitter.png"></a></li>
<li><a href="#"><img src="images/youtube.png"></a></li>
</ul>
</div>
<!--adding-Jquery.js-->
<script type="text/javascript" src="js/JQuery3.3.1.js"></script>
</body>
</html>


YOUR EXISTING AD GOES HERE

CSS
@charset "utf-8";
/* CSS Document */
body{
	margin:0px;
	padding:0px;
	background-image:url(../images/bg.png);
	background-repeat:no-repeat;
	background-size:cover;
	background-attachment:fixed;}
	ul{
		list-style:none;
		}
		a{
			text-decoration:none;}
		.logo img{
			height:50px;}
			.navigation{
				display:flex;
				justify-content:space-between;
				margin:40px;}
				.menu ul{
					display:flex;
					position:absolute;
					right:10%;}
					.menu ul li{
						margin:0px 60px;}
						.menu ul li a{
							font-family:calibri;
							font-weight:700;
							color:#c2c2c4;
							letter-spacing:1px;
							position:absolute;
							display:flex;
							justify-content:center;
							align-items:center;
							width:80px;
							height:35px;
							}
							.hover:hover:before{
								content:'';
								position:absolute;
								background-color:#3d3d3f;
								width:80px;
								height:35px;
								animation:bgcolor ease 0.5s;}

.active-menu:before{
		content:'';
								position:absolute;
								background-color:#3d3d3f;
								width:80px;
								height:35px;}
						.information-btn,.About-btn{
							font-size:18px;
							font-family:calibri;
							margin:0px 10px;
							font-weight:600;
							letter-spacing:1px;
							}
							.information-btn a,.About-btn a{
								color:#FFFFFF;}
								
		.slide-button{
			display:flex;
			transform:rotate(-90deg);
			position:absolute;
			left:-5%;
			top:47%;
			margin:0px;
			padding:0px;}
			.active-line{
				width:auto;
				height:30px;
				border-bottom:3px solid #FFFFFF;}
	.wrapper{
		display:flex;
		flex-direction:column;
		align-items:center;}
		.information-container,.about-container{
			display:flex;
			justify-content:space-between;
			align-items:center;
			width:80%;
			position:absolute;
			left:-100000px;}
			.active-slide{
				left:auto;
				animation:fade ease 1s;}
			.img-container{
				flex-basis:650px;
				height:550px;
				display:flex;
				justify-content:center;
				}
				.img-container img{
					max-width:100%;
					max-height:100%;}
					.text-container{
						width:400px;
						}
						.text-container h1,.text-container h2{
							margin:0px;
							padding:0px;
							line-height:60px;
							font-size:70px;
							color:#ececec;
							font-family:calibri;
							font-weight:300;
							text-shadow:2px 2px 20px rgba(0,0,0,0.3);
							}
		.text-container p{
			color:#b5b5b9;
			font-family:myriad pro;}
			.text-container a{
				color:#fff;
				}
			.first-num,.second-num{
				font-size:10px;
				color:#ebebeb;
				font-family:bebas kai;
				background-color:#262627;
				width:50px;
				height:50px;
				display:flex;
				justify-content:center;
				align-items:center;
				border-radius:50%;
				}
				.active-num{
					width:80px;
					height:80px;
					font-size:20px;
					border:2px solid #272727;
					background-color:#de3737;}
				.first-num a,.second-num a{
					color:#FFFFFF;}
					.contact-btn{
						display:flex;
						position:absolute;
						left:50px;
						bottom:20px;}
						.info-1,.info-2{
							background:#262627;
							position:absolute;
							bottom:20px;
							right:-400000px;
							position:fixed;}
						.active-contact{
							right:40px;
							animation:fade ease 0.5s;}
							th,tr,td{
								color:#c2c2c4;
								font-family:calibri;
								padding:1px 10px;
								font-size:15px;}
								.social img{
									margin:0px;
									padding:0px;
									}
									.social{
										position:absolute;
										top:50%;
										right:0;
										transform:translateY(-50%);
										position:fixed;}
										.social ul li{
											height:45px;
											}
											.social ul li a img{
												max-width:100%;
												max-height:100%;}
												.social ul li a:hover img{
													transform:scale(1.1);
													transition:all ease 0.5s;}
	@keyframes fade{
		0%{
			opacity:0;
			}
		100%{
			opacity:1;
			}}

	@keyframes bgcolor{
				0%{
					width:0px;
					}
					100%{
						width:80px;}
				
				}

JavaScript
//for slide-btn
$(document).on('click','.About-btn,.information-btn',function(){
	$(this).addClass('active-line').siblings().removeClass('active-line')
});
//for slide-content
$(document).on('click','.About-btn',function(){
	$('.about-container').addClass('active-slide').siblings('.information-container').removeClass('active-slide')
});	

$(document).on('click','.information-btn',function(){
	$('.information-container').addClass('active-slide').siblings('.about-container').removeClass('active-slide')
});	
//for contact-btn
$(document).on('click','.first-num,.second-num',function(){
	$(this).addClass('active-num').siblings().removeClass('active-num')
});

//for slide-contact-info
$(document).on('click','.first-num',function(){
	$('.info-1').addClass('active-contact').siblings('.info-2').removeClass('active-contact')
});	

$(document).on('click','.second-num',function(){
	$('.info-2').addClass('active-contact').siblings('.info-1').removeClass('active-contact')
});

YOUR EXISTING AD GOES HERE

The Download Links Will Be Shown in 30 Seconds


How To Dowload Files

Comments


Archive

Contact Form

Send