To design a responsive website for a Pharmaceutical Company using Bootstrap.
Clone the repository from GitHub.
Create Django Admin project.
Create a New App under the Django Admin project.
Insert the necessary CSS and JavaScript files as external in order to use Bootstrap.
Create a HTML file and include the needed Bootstrap components.
Publish the website in the LocalHost.
products.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
h1 {
color: rgb(0, 0, 0);
font-size: 45px;
font-family: Georgia, 'Times New Roman', Times, serif;
position: absolute;
top: 35%;
}
body {
background-color: rgb(0, 0, 0);
margin: 0;
}
.navbar ul {
list-style-type: none;
background-color: darkblue;
}
.navbar a {
color: white;
text-decoration: none;
padding: 25px;
display: flex;
text-align: left;
position: relative;
font-size: 20px;
top: -95px;
}
.navbar a:hover {
background-color: lightblue;
size: 60px;
cursor: pointer;
}
.navbar li {
float: right;
}
h2 {
color: white;
font-family: monospace;
font-size: 60px;
background-color: rgb(0, 0, 0);
}
footer {
background-color: black;
height: 30px;
text-align: center;
bottom: 0;
width: 100%;
color: white;
position: absolute;
}
header {
background-color: rgb(0, 0, 0);
height: 10vh;
width: 100%;
color: white;
}
header h2 {
position: absolute;
color: white;
margin-top: 10px;
margin-left: 10px;
}
.search input {
width: 18%;
height: 30px;
}
.search button {
color: white;
background-color: rgb(22, 165, 222);
padding: 5px;
text-align: center;
}
.search input,
button {
position: absolute;
right: 12px;
font-size: 18px;
border-color: silver;
}
.contain {
position: absolute;
top: 12%;
width: 1210px;
height: 700px;
margin-left: 10px;
background-color: rgb(0, 0, 0);
}
.contain p b {
font-size: 30px;
padding-left: 45px;
}
.contain p {
font-size: 20px;
color: white;
padding-left: 15px;
padding: 5px 20px 0px 15px;
}
.contain img {
margin-top: 0%;
padding-left: 10px;
padding: 20px 20px 0px 20px;
}
</style>
</head>
<body>
<header>
<h2>CodeSphere Solutions</Code></h2>
</header>
<hr>
<nav class="navbar">
<ul>
<li><a href="contact.html">Contact</a></li>
<li><a href="investors.html">Products</a></li>
<li><a href="directors.html">People</a></li>
<li><a href="home.html">Home</a></li>
</ul>
</nav>
<div class="search"><input type="text" placeholder="Enter to Search">
<button>Search</button>
</div>
<div class="contain">
<table>
<tr>
<td><img src="Unity.jpeg" height="200px" width="200px">
<p><b>Unity</b><br>
Game Development<br>
Platform
</p>
</td>
<td><img src="OIP (1).jpeg" height="200px" width="200px"><br>
<p><b>Salesforce</b><br>
Cloud-based<br>
CRM
</p>
</td>
<td><img src="WordPress-Simbolo.jpg" height="200px" width="200px"><br>
<p><b>WordPress</b><br>
Content Management <br>
System
</p>
</td>
<td><img src="OIP (2).jpeg" height="200px" width="200px"><br>
<p><b>Trello</b><br>
Project Management<br>
Tool
</p>
</td>
<td><img src="_dropbox-1024.webp" height="200px" width="200px"><br>
<p><b>Dropbox</b><br>
Cloud Storage<br>
Device
</p>
</td>
</tr>
</table>
</div>
<footer>
<hr>
Designed and Developed by GOWSHIK S© 2024
</footer>
</body>
</html>
The Project for responsive web design using Bootstrap is completed successfully.