Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • jQuery
  • AngularJS
  • ReactJS
  • Next.js
  • React Native
  • NodeJS
  • Express.js
  • MongoDB
  • MERN Stack
  • PHP
  • WordPress
  • Bootstrap
  • Tailwind
  • CSS Frameworks
  • JS Frameworks
  • Web Development
Open In App
Next Article:
Design a Google Chrome Page Template using Bootstrap
Next article icon

Design a Google Chrome Page Template using HTML and CSS

Last Updated : 24 Apr, 2025
Comments
Improve
Suggest changes
Like Article
Like
Report

Google Chrome Page Template is a replica of Google Chrome Page which can be built with the help of HTML and CSS. This project has fundamental features and design elements, a search option, along with using the FontAwsome Icons, and various CSS styling, which offer you hands-on experience in web design.

Preview

gt

Approach

  • Create the structure of the web page using different elements of HTML and link the external stylesheet to the HTML document. We have used various font awesome icons, integrated via the CDN link.
  • The element <nav> consists of navigation links a sign-in button and the semantic element <main> Includes an image, search input section, buttons section, and a customization element.
  • The Universal Selector removes text decoration for all elements. To style the header use various CSS properties like flex layout and adjusts the appearance of navigation links and sign-in buttons. Style the search input container, including the search bar and microphone icon.
  • Use Font awesome icons to give the original touch to the template website project and apply CSS styling to make it visually appealing.
  • Position the Customize Chrome button at the bottom-right corner of the webpage using position: absolute, adjusting the distances with bottom and right properties.

Example: Illustration of the Google Chrome Page Template using HTML and CSS.

HTML
<!DOCTYPE html> <html lang="en">  <head>     <meta charset="UTF-8">     <meta name="viewport"            content="width=device-width,                     initial-scale=1.0">     <title> Google Chrome Template </title>     <link rel="stylesheet" href="style.css">     <link rel="stylesheet" href= "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> </head>  <body>      <!-- Navigation Section -->     <nav class="site-navigation">         <div class="header-container">             <a href="#" class="nav-link">                 Gmail             </a>             <a href="#" class="nav-link">                 Images             </a>             <a href="">                 <i class=" fa fa-solid fa-flask myflask"></i>             </a>             <button class="sign-in-btn">                 Sign in             </button>         </div>     </nav>      <!-- Main Content Section -->     <main>         <img id="google_image" src= "https://media.geeksforgeeks.org/wp-content/uploads/20240120152553/social-(1).png">          <!-- Search Input Section -->         <section class="search-input-section">             <div class="search-input-container">                 <img src= "https://media.geeksforgeeks.org/wp-content/uploads/20240122040847/search.png"                      alt="google-search-btn"                      class="gsb">                 <input type="text"                         placeholder="Search Google or type a URL"                         class="search-input">             </div>              <img src= "https://media.geeksforgeeks.org/wp-content/uploads/20240120153531/google-voice.png"                  alt="Google Mic"                   class="mic-icon">         </section>          <!-- Buttons Section -->         <section class="buttons-section">             <button class="google-search-btn">                 Google Search             </button>             <button class="feeling-lucky-btn">                 I'm Feeling Lucky             </button>         </section>          <div class="customize_size">             <i class="fa fa-solid fa-pen"></i>             Customize Chrome         </div>     </main> </body>  </html> 
CSS
/* style.css */ * {     text-decoration: none; }  /* Reset and general styling */ body {     margin: 0;     padding: 0;     font-family: 'Arial', sans-serif;     background-color: #fff; }  .myflask {     margin-left: 2px; }  /* Navigation styling */ .site-navigation {     display: flex;     flex-direction: column;     align-items: center;     width: 100%;     padding: 10px 10px;     justify-content: space-between;     background-color: transparent;     position: fixed;     font-size: 15px; }  #google_image {     height: 250px; }  .header-container {     width: 90vw;     display: flex;     justify-content: flex-end;     padding: 10px 10px;     align-items: center;     gap: 10px; }  .nav-link:hover {     text-decoration: underline; }  .sign-in-btn {     padding: 10px 25px;     margin-left: 10px;     font-size: 15px;     background-color: rgb(67, 132, 244);     color: white;     border: none;     border-radius: 5px;     cursor: pointer; }  .sign-in-btn:hover {     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);     background-color: rgb(35, 113, 249);     text-decoration: none; }  /* Main section styling */ main {     padding: 10px;     height: 80vh;     display: flex;     flex-direction: column;     justify-content: center;     align-items: center;     background-position: center;     background-repeat: no-repeat;     color: #fff; }  /* Search Input Section styling */ .search-input-section {     border: 1px solid rgb(200, 200, 200);     display: flex;     flex-direction: row;     justify-content: space-between;     align-items: center;     width: 40vw;     background-color: white;     margin-top: -20px;     margin-bottom: 30px;     border-radius: 30px;     padding: 5px 10px;     height: 37px;     box-shadow: 0 4px 3px rgba(197, 197, 197, 0.3); }  .mic-icon {     height: 30px; }  .search-input {     border: none;     font-size: 20px;     width: 100%; }  .search-input:focus {     outline: none; }  .search-input-container {     display: flex;     flex-direction: row;     justify-content: center;     align-items: center;     width: 100%; }  .search-input-container input {     margin-left: 10px; }  /* Buttons Section styling */ .buttons-section {     display: flex;     flex-direction: row;     gap: 10px; }  .google-search-btn, .feeling-lucky-btn {     font-size: 1rem;     color: #5c5c5c;     font-weight: 100;     padding: 10px 20px;     background-color: white;     border: none; }  .google-search-btn:hover, .feeling-lucky-btn:hover {     border: 1px solid rgb(214, 214, 214);     box-shadow: 0 2px 2px rgba(162, 162, 162, 0.3);     border-radius: 5px; }  .customize_size {     position: absolute;     top: 93vh;     left: 87vw;     background-color: rgb(191, 212, 250);     padding: 10px;     border-radius: 30px;     color: black;     font-size: 13px; }  i {     margin-right: 2px; }  .gsb {     height: 20px; } 

Output:

gr

Next Article
Design a Google Chrome Page Template using Bootstrap

P

pks9918705
Improve
Article Tags :
  • Web Technologies
  • Geeks Premier League
  • Web Templates
  • Geeks Premier League 2023

Similar Reads

  • Design a Google Chrome Page Template using Bootstrap
    The Chrome template replicates Google's search page with navigation links, a search input section, and buttons. It uses Bootstrap for styling and responsiveness, resembling Google Chrome's familiar interface. PrerequisitesHTMLCSSBootstrapApproachThis app recreates the Google Chrome template using Bo
    2 min read
  • Design a Grocery Store Ttemplate using HTML and CSS
    In the article, we will see how to Create a website for a grocery store template using HTML and CSS. It allows customers to browse products, make purchases, and enjoy the convenience of online shopping. The grocery shop app is precisely built to incorporate a navigational header, product divisions f
    5 min read
  • Design a Cookies Message Popup Template using HTML and CSS
    In this article, we will design a Cookies Message Popup template using HTML and CSS. Cookies play a pivotal role in enhancing user experiences on websites by storing information about user preferences and interactions. The "Cookies Message Popup Template" is a simple and customizable solution for we
    3 min read
  • Design a Overlap Block Page Template using HTML and CSS
    In this article, we will create an Overlap Block layout template using HTML & CSS. The Overlap Block Layout is a design concept where multiple elements or blocks on a webpage visually overlap with one another. This layout frequently uses CSS's z-index property to regulate the order in which item
    3 min read
  • Create a Product Detail Page Template using HTML and CSS
    In this article, we will create a Product Details Layout Template using HTML & CSS. This Card is generally used in e-commerce websites to make the product more presentable and show details clearly. The card-like structure includes details such as product name, price, and a concise description, p
    4 min read
  • Design a Tribute Page using HTML and CSS
    Making a tribute page is an Innovative way to honor someone special in your life. In this article, we create a tribute webpage using HTML and CSS. This page has a simple and creative design. It contains a header with a title, a main section with text and images, and a footer for main details or cred
    4 min read
  • Design a Layered Image Page Template using HTML and CSS
    The article provides a complete guide for creating a layered image layout using HTML and CSS. The Layered Image Page refers to a webpage design that contains layered structured visual elements using images. Here, the design contains two boxes with background images and some empty rounded boxes with
    3 min read
  • Design a Wedding Theme based Page using HTML and CSS
    Designing a wedding-themed webpage is a fun way to capture the joy of this special day. In this article, we'll help you create a beautiful webpage using simple HTML and CSS. PreviewApproachFirslty, create a new file with the "index.html". Include Google Fonts, Font Awesome Icons, and external CSS li
    6 min read
  • Design a Contact us Page using HTML and CSS
    A Contact Us page is used to allow visitors to contact the website owner or administrator for various purposes, such as asking questions, giving feedback, requesting information, or reporting issues. In this article, we will see how to design a Contact Us page using HTML and CSS. Creating an attract
    4 min read
  • How to design Meet the Team Page using HTML and CSS ?
    You will learn how to create a simple and responsive “Meet the Team” page using HTML and CSS. We will use HTML to structure the content of the page, such as the headings, paragraphs, images, and links, and then we use CSS to style the elements of the page, such as the colors, fonts, and layout. Here
    5 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences