Monday, 10 June 2019

Responsive Web page



Create Responsive web page Using Bootstrap


<!Doctype html>
<html>
<head>
<title>Section </title>
<meta charset="utf-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Anton&display=swap" rel="stylesheet">
<style>
*{
margin:0;
padding:0;
}
.logo h1{
font-family: 'Anton', sans-serif;
color:#fff;
}
ul >li:hover{
color:red;
cursor:pointer;
}
.main-content{
position:absolute;
top:0;
width:100%;
z-index:-1;
}
.left_side{
background-image:linear-gradient(to left,rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url('bg.jpg');
width:100%;
height:100vh;
background-repeat:no-repeat;
background-size:cover;
}
.right_side{
background-color:#000;
}
</style>
</head>
<body>
<div class="container-fluid">
<nav class="row py-4">
<div class="col-lg-6 col-md-6 col-12 ">
<div class="logo">
<h1> INTERIOR DESIGN </h1>
</div>
</div>
<div class="col-lg-6 col-md-6 col-12 ">
<ul class="d-flex justify-content-around align-items-center list-unstyled text-uppercase text-white">
<li>Home</li>
<li>About</li>
<li>Contact </li>
</ul>
</div> 
</nav>
<div class ="row main-content text-white">
<div class="col-md-6 col-12 left_side">
</div>
<div class="col-md-6 col-12 right_side d-flex justify-content-center align-items-center">
<div class="right-content w-50">
<h1>Best Living Room Decoration For Modern House</h1>
<p>The family room is a place where love is poured out, a comfortable and beautiful family room will make residents feel at home. From a comfortable family room there will be love for all family members.</p>
<button class="btn btn-warning"> Read more</button>
<div>
</div>
</div>


</div>
</body>

</html>


OUT PUT




No comments:

Post a Comment

SEO introduction

What is SEO? SEO(Search Engine Optimization ) is a technique that helps to bring the Website on top. Seo depends on the Keyword . Ke...