The content on this website, including videos and code examples, is for educational purposes only. All demonstrations and designs are fictional and created to illustrate coding techniques. Any resemblance to existing websites or brands is purely coincidental.
The creators and administrators of this website do not claim ownership or affiliation with any existing websites or companies. Users are encouraged to use the information responsibly for learning purposes. Liability for any misuse of the content provided is not accepted.
Below is the html code for this video.
index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Elevate Search Horizon Template</title>
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container-fluid my-4 d-flex justify-content-between align-items-center px-5">
<svg xmlns="http://www.w3.org/2000/svg" width="82" height="40" fill="none" viewBox="0 0 82 40">
<path fill="#FFD43D"
d="M73.365 19.71c0 2.904-2.241 5.31-5.27 5.31-3.03 0-5.228-2.406-5.228-5.31 0-2.905 2.199-5.312 5.228-5.312s5.27 2.407 5.27 5.311Z">
</path>
<path fill="#FF0C81"
d="M48.764 19.544c0 2.946-2.323 5.145-5.27 5.145-2.904 0-5.227-2.2-5.227-5.145 0-2.947 2.323-5.104 5.228-5.104 2.946 0 5.27 2.158 5.27 5.104Z">
</path>
<path fill="#11EEFC"
d="M20.074 25.02c3.029 0 5.27-2.406 5.27-5.31 0-2.905-2.241-5.312-5.27-5.312-3.03 0-5.228 2.407-5.228 5.311 0 2.905 2.199 5.312 5.228 5.312Z">
</path>
<path fill="#171A26"
d="M68.095 30.54c-6.307 0-11.12-4.897-11.12-10.872 0-5.934 4.855-10.83 11.12-10.83 6.349 0 11.162 4.938 11.162 10.83 0 5.975-4.855 10.871-11.162 10.871Zm0-5.52c3.03 0 5.27-2.406 5.27-5.31 0-2.905-2.24-5.312-5.27-5.312-3.029 0-5.228 2.407-5.228 5.311 0 2.905 2.199 5.312 5.228 5.312ZM43.08 40c-4.813 0-8.506-2.116-10.373-5.934l4.896-2.655c.913 1.784 2.614 3.195 5.394 3.195 3.486 0 5.85-2.448 5.85-6.473v-.374c-1.12 1.411-3.111 2.49-6.016 2.49-5.768 0-10.373-4.481-10.373-10.581 0-5.934 4.813-10.788 11.12-10.788 6.431 0 11.162 4.605 11.162 10.788v8.299C54.74 35.27 49.76 40 43.08 40Zm.415-15.311c2.946 0 5.27-2.2 5.27-5.145 0-2.947-2.324-5.104-5.27-5.104-2.905 0-5.228 2.158-5.228 5.104s2.323 5.145 5.228 5.145ZM20.074 30.54c-6.307 0-11.12-4.897-11.12-10.872 0-5.934 4.854-10.83 11.12-10.83 6.348 0 11.162 4.938 11.162 10.83 0 5.975-4.855 10.871-11.162 10.871Zm0-5.52c3.029 0 5.27-2.406 5.27-5.31 0-2.905-2.241-5.312-5.27-5.312-3.03 0-5.228 2.407-5.228 5.311 0 2.905 2.199 5.312 5.228 5.312ZM0 0h5.892v30H0V0ZM82 6.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z">
</path>
</svg>
<ul class="list-group list-group-horizontal">
<li class="list-group-item d-flex justify-content-center align-items-center">
<span class="material-symbols-outlined" data-bs-toggle="tooltip" data-bs-placement="bottom"
data-bs-title="Sign In">person</span>
</li>
<li class="list-group-item d-flex justify-content-center align-items-center">
<span class="material-symbols-outlined" data-bs-toggle="tooltip" data-bs-placement="bottom"
data-bs-title="All Sites">apps</span>
</li>
<li class="list-group-item d-flex justify-content-center align-items-center">
<span class="material-symbols-outlined">partly_cloudy_day</span><strong>82° <span>F</span></strong>
</li>
</ul>
</div>
<div class="container mt-5 pt-5">
<div class="row">
<div class="col"></div>
<div class="col-10 col-sm-10 col-md-8 col-lg-5">
<h3 class="fs-1 text-center mb-4 mt-2">Good afternoon!</h3>
<div class="d-flex search-container">
<span class="material-symbols-outlined">search</span>
<input type="search" id="search-area" class="w-100" placeholder="Search the web">
<span class="material-symbols-outlined voice-icon" data-bs-toggle="tooltip"
data-bs-placement="bottom" data-bs-title="Search by voice">keyboard_voice</span>
</div>
<div class="row my-5">
<div class="col-8 col-sm-8 col-md-8 col-lg-8">
<div class="card">
<div class="card-header d-flex justify-content-start align-items-center">
<span class="material-symbols-outlined gift-icon">featured_seasonal_and_gifts</span>
<span class="fs-4 ms-1">Gifts</span>
</div>
<div class="card-body d-flex justify-content-evenly align-items-center p-0">
<ul class="list-group w-50">
<li class="list-group-item">
<a href="#"
class="link-underline link-underline-opacity-0 link-underline-opacity-100-hover">
List Item</a>
</li>
<li class="list-group-item">
<a href="#"
class="link-underline link-underline-opacity-0 link-underline-opacity-100-hover">
List Item</a>
</li>
<li class="list-group-item">
<a href="#"
class="link-underline link-underline-opacity-0 link-underline-opacity-100-hover">
List Item</a>
</li>
<li class="list-group-item">
<a href="#"
class="link-underline link-underline-opacity-0 link-underline-opacity-100-hover">
List Item</a>
</li>
<li class="list-group-item">
<a href="#"
class="link-underline link-underline-opacity-0 link-underline-opacity-100-hover">
List Item</a>
</li>
</ul>
<ul class="list-group w-50">
<li class="list-group-item">
<a href="#"
class="link-underline link-underline-opacity-0 link-underline-opacity-100-hover">
List Item</a>
</li>
<li class="list-group-item">
<a href="#"
class="link-underline link-underline-opacity-0 link-underline-opacity-100-hover">
List Item</a>
</li>
<li class="list-group-item">
<a href="#"
class="link-underline link-underline-opacity-0 link-underline-opacity-100-hover">
List Item</a>
</li>
<li class="list-group-item">
<a href="#"
class="link-underline link-underline-opacity-0 link-underline-opacity-100-hover">
List Item</a>
</li>
<li class="list-group-item">
<a href="#"
class="link-underline link-underline-opacity-0 link-underline-opacity-100-hover">
List Item</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-4 col-sm-4 col-md-4 col-lg-4">
<div class="card h-100">
<div class="card-body p-0">
<img src="https://images.unsplash.com/photo-1552588355-23e1b81409cd" alt="card-img"
class="card-img w-100 h-100">
</div>
</div>
</div>
</div>
</div>
<div class="col"></div>
</div>
</div>
<div class="container-fluid border-top">
<div class="container d-flex mt-2 h-100 footer">
<p class="d-flex justify-content-center align-items-center w-100 h-100">
<span>Help</span><span class="mx-3">Privacy</span><span>Terms</span><span class="mx-3">Advertise</span>
<span>About</span>
</p>
<p class="d-flex justify-content-center align-items-center h-100 settings">
<span class="material-symbols-outlined">settings</span><span class="ms-1">Settings</span>
</p>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"></script>
<script src="index.js"></script>
</body>
</html>
Below is the css code for this video.
style.css
* {
margin: 0;
padding: 0;
}
body {
height: 100vh;
width: 100%;
color: #221228;
overflow: hidden;
}
.list-group>.list-group-item:first-child:not(:last-child), .list-group>.list-group-item+.list-group-item {
background: transparent;
border: none;
}
strong {
font-size: large;
margin-left: 10px;
}
strong span {
font-size: small;
font-weight: 400;
}
.search-container {
max-width: 564px;
background: #ffffff;
border: 1px solid #e0e4e9;
border-radius: 100px;
padding: 15px;
box-shadow: 0 0 1px #0000001a, 0 2px 4px #0000001a;
}
.search-container:hover {
box-shadow: 0 0 1px #0000001a, 0 4px 8px #0000001a;
}
#search-area {
background: #ffffff;
border: none;
border-right: 1px solid #707579;
padding: 0 10px;
margin-right: 10px;
}
input[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: none;
display: inline-block;
height: 12px;
width: 12px;
background: linear-gradient(45deg, transparent 0%, transparent 43%, #707579 45%, #707579 55%, transparent 57%, transparent 100%),
linear-gradient(135deg, transparent 0%, transparent 43%, #707579 45%, #707579 55%, transparent 57%, transparent 100%);
margin-left: 10px;
}
#search-area:focus-visible {
padding: 0 10px;
outline: none;
}
.voice-icon {
color: #4285f4;
}
.card-header {
background-color: transparent !important;
border: none !important;
}
.gift-icon {
color: #eb0e29;
}
.footer p span {
color: #707579;
}
.footer p span:hover {
color: #1a0dab;
cursor: pointer;
}
.footer .settings:hover span {
color: #1a0dab;
}
.footer .settings:hover span:first-child {
color: #221228;
}
Below is the javascript code for this video.
index.js
const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]');
const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl));
Thanks for visiting