Get Pre Made Website Code For Free
Pre Made Website Code For Free
HTML+CSS
THIS WEBSITE HAS BEEN MADE BY USING HTML AND CSS
1. HTML CODE
<!DOCTYPE html>
<html>
<head>
<title>WEBSITE DESIGNING:TUTORIALS</title>
</head>
<style type="text/css">
</style>
<body>
<div class="banner">
<div class="navbar">
<img src="logo1.png" class="logo">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Gallery</a></li>
<li><a href="#">Design</a></li>
<li><a href="#">contact us</a></li>
<li><a href="#">About us</a></li>
</ul>
</div>
<div class="content">
<h1>DESIGN YOUR HOUSE</h1>
<p>Subscribe Easy Tutorials Youtube Channel to watch more videos, <br>Press the bell icon to get latest updates.</p>
<div>
<button type="button"><span></span> WATCH MORE</button>
<button type="button"><span></span> SUBSCRIBE</button>
</div>
</div>
</div>
</body>
</html>
2. CSS CODE
body
{
background-image: linear-gradient(rgba(0,0,0,0.75),rgba(0,0,0,0.75)),url(lol11.png);
background-size: cover;
background-position: center;
}
*
{
margin: 0;
padding: 0;
font-family: sans-serif;
}
.banner
{
width: 100%;
height: 100%;
background-image: linear-gradient(rgba(0,0,0,0.75),rgba(0,0,0,0.75)),url(lol11.png);
background-size: cover;
}
.navbar
{
width: 85%;
margin: auto;
padding: 35px 0;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo
{
width: 120px;
cursor: pointer;
}
.navbar ul li
{
list-style: none;
display: inline-block;
margin: 0 20px;
position: relative;
}
.navbar ul li a
{
text-decoration: none;
color: #fff;
text-transform: uppercase;
}
.navbar ul li::after
{
content: '';
height: 3px;
width: 0;
background: #009688;
position: absolute;
left: 0;
bottom: -10px;
transition: 0.5s;
}
.navbar ul li:hover::after
{
width: 100%;
}
.content
{
width: 100%;
position:absolute;
top: 50%;
transform: translatelY(-50%);
text-align: center;
color: #fff;
}
.content H1
{
font-size: 70px;
margin-top: 80px;
}
.content p
{
margin: 20px auto;
font-weight: 100;
line-height: 25px;
}
button
{
width: 200px;
padding: 15px 0;
text-align: center;
margin: 20px 10px;
border-radius: 25px;
font-weight: bold;
border: 2px solid #009688;
background: transparent;
color: #fff;
cursor: pointer;
position: relative;
overflow: hidden;
}
span
{
background: #009688;
height: 100%;
width: 0;
border-radius: 25px;
position: absolute;
left: 0;
bottom: 0;
z-index: -1;
transition: 0.5s;
}
button:hover span
{
width: 100%;
}
button:hover
{
border: none;
}
Full code html with css. (html+css)
<!DOCTYPE html>
<html>
<head>
<title>WEBSITE DESIGNING:TUTORIALS</title>
</head>
<style type="text/css">
body
{
background-image: linear-gradient(rgba(0,0,0,0.75),rgba(0,0,0,0.75)),url(lol11.png);
background-size: cover;
background-position: center;
}
*
{
margin: 0;
padding: 0;
font-family: sans-serif;
}
.banner
{
width: 100%;
height: 100%;
background-image: linear-gradient(rgba(0,0,0,0.75),rgba(0,0,0,0.75)),url(lo.png);
background-size: cover;
}
.navbar
{
width: 85%;
margin: auto;
padding: 35px 0;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo
{
width: 120px;
cursor: pointer;
}
.navbar ul li
{
list-style: none;
display: inline-block;
margin: 0 20px;
position: relative;
}
.navbar ul li a
{
text-decoration: none;
color: #fff;
text-transform: uppercase;
}
.navbar ul li::after
{
content: '';
height: 3px;
width: 0;
background: #009688;
position: absolute;
left: 0;
bottom: -10px;
transition: 0.5s;
}
.navbar ul li:hover::after
{
width: 100%;
}
.content
{
width: 100%;
position:absolute;
top: 50%;
transform: translatelY(-50%);
text-align: center;
color: #fff;
}
.content H1
{
font-size: 70px;
margin-top: 80px;
}
.content p
{
margin: 20px auto;
font-weight: 100;
line-height: 25px;
}
button
{
width: 200px;
padding: 15px 0;
text-align: center;
margin: 20px 10px;
border-radius: 25px;
font-weight: bold;
border: 2px solid #009688;
background: transparent;
color: #fff;
cursor: pointer;
position: relative;
overflow: hidden;
}
span
{
background: #009688;
height: 100%;
width: 0;
border-radius: 25px;
position: absolute;
left: 0;
bottom: 0;
z-index: -1;
transition: 0.5s;
}
button:hover span
{
width: 100%;
}
button:hover
{
border: none;
}
</style>
<body>
<div class="banner">
<div class="navbar">
<img src="logo1.png" class="logo">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Gallery</a></li>
<li><a href="#">Design</a></li>
<li><a href="#">contact us</a></li>
<li><a href="#">About us</a></li>
</ul>
</div>
<div class="content">
<h1>DESIGN YOUR HOUSE</h1>
<p>Subscribe Easy Tutorials Youtube Channel to watch more videos, <br>Press the bell icon to get latest updates.</p>
<div>
<button type="button"><span></span> WATCH MORE</button>
<button type="button"><span></span> SUBSCRIBE</button>
</div>
</div>
</div>
</body>
</html>
.png)
Comments
Post a Comment