Create a Stunning Windows 10 Desktop Clone with HTML and CSS

Faraz

By Faraz -

Learn how to clone the Windows 10 desktop using HTML and CSS from scratch. Follow our tutorial for impressive results. Source code Included


Create a Stunning Windows 10 Desktop Clone with HTML and CSS.jpg

Table of Contents

  1. Project Introduction
  2. HTML Code
  3. CSS Code
  4. Preview
  5. Conclusion

Welcome to our comprehensive guide where we'll take you through the exciting journey of recreating the Windows 10 desktop using nothing but HTML and CSS. Have you ever marveled at the sleek design, the user-friendly interface, and the seamless functionality of the Windows 10 desktop? Imagine being able to capture all of that charm and efficiency in a web-based clone that you can customize to your heart's content. Well, that's exactly what we're here to help you achieve!

Whether you're a budding web developer looking to enhance your skills or simply an enthusiast with a passion for technology and design, this step-by-step tutorial is designed to cater to all levels of expertise. Creating a Windows 10 desktop clone using HTML and CSS is not only a fun and educational endeavor but also a testament to the versatility of these two fundamental web technologies.

In the modern digital landscape, the ability to replicate real-world interfaces in a virtual environment is an essential skill. It allows you to explore the boundaries of design and interactivity while paying homage to the iconic Windows 10 interface that has become synonymous with personal computing.

Throughout this guide, we'll demystify the process for you. From structuring the elements that make up the desktop to meticulously styling each component to mimic Windows 10 aesthetics, we've got you covered. And it doesn't stop there – we'll also delve into adding interactive elements that bring your clone to life, allowing you to navigate the virtual desktop just like you would the real thing.

But this journey isn't just about replication; it's about creativity too. Once you've mastered the basics, you'll have a solid foundation to build upon. Experiment with colors, layouts, and even introduce your spin on the Windows 10 desktop. The possibilities are as vast as your imagination.

So, whether you're a developer aiming to expand your skill set, a design enthusiast looking for a unique project, or simply someone curious about the inner workings of the Windows 10 interface, you're in the right place. Get ready to embark on an adventure that combines technology, design, and your creative spark – let's create a stunning Windows 10 desktop clone together, right from scratch!

Buckle up, because by the end of this guide, you'll not only have an impressive Windows 10 clone to showcase but also a deeper understanding of how HTML and CSS can transform ideas into functional and visually captivating realities.

Let's dive in and bring the Windows 10 desktop to the browser window!

Credit: Guillaume

Source Code

Step 1 (HTML Code):

To get started, we will first need to create a basic HTML file. In this file, we will include the main structure for our Windows 10 clone.

After creating the files just paste the following codes into your file. Make sure to save your HTML document with a .html extension, so that it can be properly viewed in a web browser.

Let's break down the main components and their functions:

1. <!DOCTYPE html>: This declaration specifies that the document is an HTML5 document.

2. <html lang="en">: The root element of the HTML document. The lang attribute specifies the language of the content (English in this case).

3. <head>: Contains metadata and links to external resources used in the web page.

4. <title>: Sets the title of the web page, which appears in the browser's title bar or tab.

5. <meta charset="UTF-8">: Specifies the character encoding for the document (UTF-8, a common encoding for international characters).

6. <meta name="viewport" content="width=device-width">: Configures the viewport for responsive design.

7. <link>: Connects external resources to the page.

  • The first <link> tag links to the Font Awesome CSS library to provide icons.
  • The second <link> tag links to a local CSS file named "styles.css" for styling the page.

9. <body>: The main content of the web page is placed within this element.

10. <div class="taskbar">: Represents the taskbar section at the bottom of the page. Contains icons and controls that resemble the Windows taskbar.

11. <div class="desktop">: Represents the desktop area containing icons and functionality.

  • Within this element, there are several icon representations for applications like Chrome, Visual Studio Code, File Explorer, and Recycle Bin.
  • The icons are wrapped in anchor (<a>) elements, allowing them to be clicked like hyperlinks.
  • Additionally, there are pop-up modal sections for sound settings and WiFi settings.

12. <div class="chrome">: Represents a Chrome-like application window pop-up with tabs, a search bar, and bookmarks.

13. <div id="start-menu-modal">: Represents the Start menu pop-up containing user and application options.

14. Throughout the code, various Font Awesome icons are used to create visual elements like icons, buttons, and navigation controls.

This is the basic structure of our Windows 10 clone using HTML, and now we can move on to styling it using CSS.

Step 2 (CSS Code):

Once the basic HTML structure of the Windows 10 clone is in place, the next step is to add styling to the clone website using CSS. CSS allows us to control the visual appearance of the website, including things like layout, color, and typography.

Next, we will create our CSS file. In this file, we will use some basic CSS rules to style our Windows 10.

The code targets various elements within the interface, such as the taskbar, icons, start menu, and various pop-up modals. I'll break down the code into different sections to explain its purpose and functionality:

1. * { box-sizing: border-box; }: This rule sets the box-sizing property to border-box for all elements on the page, which includes padding and borders within the defined width and height of elements.

2. body: This section applies styling rules to the <body> element, which is the main content area of the page. It sets properties like margin, padding, font-family, and disables vertical overflow scrolling.

3. .desktop: This class defines styling for the desktop background, using a background image and adjusting its size and position.

4. .taskbar: This class styles the taskbar at the bottom of the desktop. It sets its position, dimensions, and background color.

5. Various .icons-left and .icons-right sections: These sections define the styling for icons and elements located on the left and right sides of the taskbar. Icons are displayed as background images with specified dimensions and positions. Hover and focus styles are also defined for some elements.

6. .desktop .icon-desktop: This section styles icons on the desktop itself. It defines the appearance of individual icons, including images, padding, border, and text.

7. #start-menu-modal, #wifi-modal, #chrome-pop-up: These are pop-up modals that appear when specific links are clicked. They define their appearance, dimensions, background colors, and animation effects.

8. .triangle, .triangle-2: These define triangles on the top-left and top-right corners of the pop-up modals.

9. .chrome-close: Styles the close button options within the Chrome browser UI.

10. .chrome-bottom: Styles various elements at the bottom of the Chrome browser UI, such as bookmarks, search bar, and points bar.

11. .bookmarks: Styles the bookmarks section within the Chrome UI.

This will give our Windows 10 clone an upgraded presentation. Create a CSS file with the name of styles.css and paste the given codes into your CSS file. Remember that you must create a file with the .css extension.

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-y: hidden;
  font-family: Arial, Helvetica, sans-serif;
}

.desktop {
  height: 100vh;
  background: url(https://images.frandroid.com/wp-content/uploads/2019/12/windows-10-wallpaper.jpg);
  background-position: center;
  background-size: cover;
}

.taskbar {
  position: fixed;
  bottom: 0;
  height: 43px;
  width: 100%;
  background: #004172;
}

.taskbar .icons-left {
  height: 43px;
  display: inline-block;
}

.taskbar .icons-left #start-menu, .taskbar .icons-left #tabs-windows {
  height: 43px;
  width: 48px;
  position: relative;
}

.taskbar .icons-left #start-menu i, .taskbar .icons-left #tabs-windows i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 21px;
  color: white;
}

.taskbar .icons-left #search {
  height: 43px;
  width: 49px;
  background-image: url("https://raw.githubusercontent.com/gcazin/pure-css-windows-10-desktop/master/icons/search.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
}

.taskbar .icons-left #folder {
  height: 43px;
  width: 49px;
  background-image: url("http://www.iconarchive.com/download/i98291/dakirby309/simply-styled/File-Explorer.ico");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 21px;
}

.taskbar .icons-left #chrome {
  height: 43px;
  width: 49px;
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Google_Chrome_icon_%28September_2014%29.svg/2048px-Google_Chrome_icon_%28September_2014%29.svg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px 26px;
}

.taskbar .icons-left #tabs-windows {
  height: 43px;
  width: 49px;
  background-image: url("https://raw.githubusercontent.com/gcazin/pure-css-windows-10-desktop/master/icons/switch-window.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 25px 25px;
}

.taskbar .icons-left #tabs-windows:hover {
  height: 43px;
  width: 49px;
  background-image: url("https://image.noelshack.com/fichiers/2018/18/5/1525467821-tabs.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 15px;
}

.taskbar .icons-left a {
  display: table-cell;
  border-bottom: 2px solid transparent;
}

.taskbar .icons-left a:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.taskbar .icons-left a:not(:first-child) {
  margin-left: -4px;
}

.taskbar .icons-left a.border:focus {
  border-bottom: 2px solid rgba(245, 245, 245, 0.651);
}

.taskbar .icons-left .px {
  width: 1px;
}

.taskbar .icons-left .px a {
  pointer-events: none;
}

.taskbar .icons-right {
  height: 43px;
  float: right;
}

.taskbar .icons-right #wifi {
  height: 43px;
  width: 49px;
  background-image: url("https://raw.githubusercontent.com/gcazin/pure-css-windows-10-desktop/master/icons/wifi.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
}

.taskbar .icons-right #sound {
  height: 43px;
  width: 49px;
  background-image: url("https://raw.githubusercontent.com/gcazin/pure-css-windows-10-desktop/master/icons/volume.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
}

.taskbar .icons-right #return {
  width: 4px;
  border-left: 1px solid grey;
}

.taskbar .icons-right #notifications, .taskbar .icons-right #up {
  height: 43px;
  width: 42px;
  position: relative;
}

.taskbar .icons-right #notifications i, .taskbar .icons-right #up i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 17px;
  color: white;
}

.taskbar .icons-right .clear {
  height: 43px;
  width: 7px;
  display: table-cell;
}

.taskbar .icons-right .disabled {
  pointer-events: none;
  cursor: default;
}

.taskbar .icons-right .datetime {
  display: table-cell;
  width: 70px !important;
  cursor: pointer;
  padding-top: 3px;
}

.taskbar .icons-right .datetime span {
  display: block;
  text-align: center;
  margin-top: 5px;
  font-size: 11.3px;
  color: white;
}

.taskbar .icons-right .datetime:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.taskbar .icons-right a {
  display: table-cell;
}

.taskbar .icons-right a:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.taskbar .icons-right a:not(:first-child) {
  margin-left: -4px;
}

.taskbar .icons-right .small-icons {
  width: 24px !important;
}

.desktop {
  display: flex;
}

.desktop .icon-desktop {
  padding: 4px 8px 4px 8px;
  border: 2px solid transparent;
  text-align: center;
  margin-bottom: 32px;
}

.desktop .icon-desktop a {
  display: block;
  text-decoration: none;
  cursor: default;
}

.desktop .icon-desktop img {
  height: 48px;
  width: 48px;
}

.desktop .icon-desktop span {
  display: block;
  color: white;
  font-size: 11px;
  text-align: center;
}

.desktop .icon-desktop:hover {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.desktop .icon-desktop:first-child {
  margin-top: 5px;
}

.desktop #sound-modal {
  background: #005a9e;
  position: absolute;
  right: 0;
  bottom: 43px;
  height: 100px;
  width: 380px;
  visibility: hidden;
}

.desktop #sound-modal i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  left: -20px !important;
  color: whitesmoke;
}

.desktop #sound-modal span.data-value {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  color: whitesmoke;
}

.desktop #sound-modal .sound-text {
  text-align: center;
  margin-top: 15px;
  color: whitesmoke;
}

.desktop #sound-modal .sound-progress {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 70%;
}

.desktop #sound-modal .sound-progress .bar-sound {
  width: 230px;
  height: 5px;
  background: linear-gradient(to right, #2989d8 0%, #2989d8 50%, grey 51%, grey 51%);
}

.desktop #sound-modal .sound-progress .bar-sound-drag {
  height: 20px;
  width: 7px;
  background: #0078d7;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 3px;
}

.desktop #sound-modal:target {
  visibility: visible;
  animation-name: open-height;
  animation-duration: 0.1s;
  transition: 0.1s;
}

@keyframes open-height {
  0% {
    height: 50px;
    opacity: 0.5;
  }
  100% {
    height: 100px;
    opacity: 1;
  }
}

.desktop #sound-modal:hover .bar-sound-drag {
  background: white;
}

/* Wifi */
#wifi-modal {
  background: #005a9e;
  position: absolute;
  right: 0;
  bottom: 43px;
  height: 600px;
  width: 380px;
  color: white;
  visibility: hidden;
  display: flex;
  flex-direction: column;
}

#wifi-modal:target {
  visibility: visible !important;
  animation-name: open;
  animation-duration: 0.1s;
  transition: 0.1s;
}

@keyframes open {
  0% {
    height: 550px;
    opacity: 0.5;
  }
  100% {
    height: 600px;
    opacity: 1;
  }
}

#wifi-modal .list-networks .networks {
  padding: 20px;
  cursor: default;
}

#wifi-modal .list-networks .networks i {
  transform: rotate(45deg);
  font-size: 25px;
}

#wifi-modal .list-networks .networks:first-child {
  background: rgba(255, 255, 255, 0.1);
}

#wifi-modal .list-networks .networks:hover {
  background: rgba(255, 255, 255, 0.15);
}

#wifi-modal .list-networks .networks span.name-wifi {
  font-size: 18px;
}

#wifi-modal .list-networks .networks span.type-wifi {
  display: block;
  font-size: 15px;
  color: rgba(245, 245, 245, 0.644);
}

#wifi-modal .list-networks .networks .text-wifi {
  display: inline-block;
  position: relative;
  width: 80%;
}

#wifi-modal .list-networks .networks .icons-wifi {
  float: left;
  padding: 10px 10px 0px 0px;
  margin-right: 15px;
}

#wifi-modal .list-networks .networks .propriety {
  font-size: 15px;
  color: rgba(245, 245, 245, 0.6);
  display: block;
  margin-top: 10px;
  text-decoration: underline;
  cursor: pointer;
}

#wifi-modal .list-networks .networks .propriety:hover {
  color: rgba(245, 245, 245, 0.9);
}

#wifi-modal .list-networks .networks button {
  display: block;
  color: white;
  background: #338ed6;
  border: 2px solid transparent;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 7px;
  padding-bottom: 7px;
  font-size: 15px;
  float: right;
  margin-top: 10px;
}

#wifi-modal .list-networks .networks button:hover {
  border: 2px solid rgba(255, 255, 255, 0.63);
}

#wifi-modal .list-networks .networks button:focus {
  background: #66aae0;
  outline: none;
  border: 2px solid transparent;
}

#wifi-modal .list-networks .options-wifi {
  position: absolute;
  bottom: 0;
}

#wifi-modal .list-networks .options-wifi .options-bloc {
  display: flex;
  flex-direction: row;
}

#wifi-modal .list-networks .options-wifi .options-bloc .bloc-options {
  height: 75px;
  width: 95px;
  background: rgba(255, 255, 255, 0.1);
  margin: 10px 0px 5px 6px;
  position: relative;
  border: 2px solid transparent;
  cursor: default;
}

#wifi-modal .list-networks .options-wifi .options-bloc .bloc-options i {
  position: absolute;
  top: 10px;
  left: 5px;
}

#wifi-modal .list-networks .options-wifi .options-bloc .bloc-options span {
  display: block;
  position: absolute;
  bottom: 3px;
  left: 5px;
  font-size: 14px;
}

#wifi-modal .list-networks .options-wifi .options-bloc .bloc-options:first-child {
  background: rgba(255, 255, 255, 0.3);
}

#wifi-modal .list-networks .options-wifi .options-bloc .bloc-options:hover {
  border: 2px solid rgba(255, 255, 255, 0.63);
}

#wifi-modal .list-networks .options-wifi .options-wifi-text {
  margin-left: 6px;
}

#wifi-modal .list-networks .options-wifi .options-wifi-text span {
  display: block;
  font-size: 14px;
  color: rgba(245, 245, 245, 0.8);
}

#wifi-modal .list-networks .options-wifi .options-wifi-text span:first-child {
  text-decoration: underline;
  cursor: pointer;
}

#wifi-modal .list-networks .options-wifi .options-wifi-text span:not(:first-child) {
  font-size: 12px;
  cursor: default;
}

#start-menu-modal {
  background: #005a9e;
  position: absolute;
  left: 0;
  bottom: 43px;
  height: 600px;
  color: white;
  visibility: hidden;
  display: grid;
  grid-template-columns: 50px 250px 400px;
  cursor: default;
}

#start-menu-modal:target {
  visibility: visible !important;
  animation-name: open;
  animation-duration: 0.1s;
  transition: 0.1s;
}

@keyframes open {
  0% {
    height: 550px;
    opacity: 0.5;
  }
  100% {
    height: 600px;
    opacity: 1;
  }
}

#start-menu-modal #user {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#start-menu-modal #user a {
  color: whitesmoke;
  height: 50px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  cursor: default;
}

#start-menu-modal #user a:hover {
  background: rgba(255, 255, 255, 0.1);
}

#start-menu-modal #user .push {
  margin-bottom: auto;
}

#start-menu-modal #apps {
  display: flex;
  flex-direction: column;
  overflow-y: visible;
  padding: 10px;
}

#start-menu-modal #apps a {
  color: whitesmoke;
  display: flex;
  text-decoration: none;
  padding: 2px 10px 0px 20px;
  line-height: 2.5;
  font-size: 12px;
  letter-spacing: 0.5px;
  cursor: default;
}

#start-menu-modal #apps a img {
  height: 30px;
  width: 30px;
  padding: 4px;
}

#start-menu-modal #apps a img[alt="sublime"] {
  background: #292929;
}

#start-menu-modal #apps a img[alt="access"] {
  background: #7c2325;
}

#start-menu-modal #apps a i {
  font-size: 25px;
  line-height: 1.1;
}

#start-menu-modal #apps a span {
  margin-left: 8px;
  color: whitesmoke;
}

#start-menu-modal #apps a:hover {
  background: rgba(255, 255, 255, 0.1);
}

#start-menu-modal #apps a.category {
  height: 30px;
}

#start-menu-modal #others .title-others {
  color: whitesmoke;
  text-decoration: none;
  padding: 10px 10px 0px 20px;
  line-height: 2.5;
  font-size: 12px;
  letter-spacing: 0.5px;
}

#start-menu-modal #others .box-others {
  display: inline-flex;
  padding-left: 20px;
  flex-wrap: wrap;
}

#start-menu-modal #others .box-others .box {
  height: 100px;
  width: 100px;
  position: relative;
  background: #0078d7;
  margin-left: 4px;
  border: 2px solid transparent;
  margin-bottom: 4px;
}

#start-menu-modal #others .box-others .box img {
  height: 40px;
  width: 40px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#start-menu-modal #others .box-others .box span {
  position: absolute;
  bottom: 3px;
  left: 4px;
  font-size: 12px;
}

#start-menu-modal #others .box-others .box:hover {
  border: 2px solid #7fbbeb;
}

#chrome-pop-up {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 500px;
  width: 900px;
  background: white;
  visibility: hidden;
  border: 2px solid #004275;
  z-index: 1;
  resize: both;
  overflow-y: hidden;
}

#chrome-pop-up:target {
  visibility: visible;
}

#chrome-pop-up iframe {
  height: 100vh;
  width: 100%;
}

.chrome-top {
  height: 30px;
  width: 100%;
  position: relative;
  border-bottom: 1px solid grey;
}

.chrome-tabs {
  float: left;
  position: relative;
  margin-left: 12px;
}

.chrome-tabs .tabs {
  padding-top: 6px;
  padding-left: 12px;
  padding-right: 6px;
  padding-bottom: 6px;
  width: 180px;
  background: #f2f2f2;
  cursor: default;
}

.chrome-tabs .tabs .text-tabs {
  font-size: 12px;
  margin-left: 3px;
  vertical-align: text-bottom;
}

.chrome-tabs .tabs .close-tabs {
  float: right;
  margin-right: 10px;
  height: 15px;
  width: 15px;
  text-align: center;
  line-height: 0.9;
  font-size: 14px;
  border-radius: 50%;
  font-weight: 500;
  font-family: monospace;
}

.chrome-tabs .tabs .close-tabs:hover {
  background: rgba(255, 0, 0, 0.781);
  color: white;
  padding: 1px;
}

.chrome-tabs .tabs:before {
  content: " ";
  position: absolute;
  left: -33px;
  bottom: 0;
  background: grey;
  width: 64px;
  height: 1px;
  transform: rotate(104deg);
}

.chrome-tabs .tabs:after {
  content: " ";
  position: absolute;
  right: -31px;
  bottom: 0;
  background: grey;
  width: 64px;
  height: 1px;
  transform: rotate(70deg);
}

.chrome-tabs .tabs .icons-tabs img {
  height: 16px;
  width: 16px;
}

.new-tabs {
  width: 26px;
  height: 15px;
  background: #ccc;
  transform: skew(27deg);
  position: absolute;
  top: 7px;
  right: -30px;
  border: 1px solid grey;
  border-radius: 2px;
}

.new-tabs:hover {
  background: rgba(128, 128, 128, 0.3);
}

.chrome-close {
  display: flex;
  justify-content: flex-end;
}

.chrome-close a {
  text-decoration: none;
  font-size: 11px;
  padding: 8px 24px 7px 24px;
  color: grey;
}

.chrome-close a:hover:not(:last-child) {
  background: #dfdfdf;
  color: black;
}

.chrome-close a:hover:last-child {
  background: rgba(255, 0, 0, 0.781);
  color: white;
}

.chrome-close a:not(:first-child) {
  margin-left: -4px;
}

.triangle {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 0px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 7px solid white;
}

.triangle-2 {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 0px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 10px solid white;
  transform: scaleX(-1);
}

.chrome-bottom {
  background: #f2f2f2;
  height: 62px;
  position: relative;
  display: flex;
  flex-direction: row;
}

.chrome-bottom .options-bar {
  height: calc(62px / 2);
  width: 100%;
}

.chrome-bottom .options-bar a {
  text-decoration: none;
  border-radius: 3px;
}

.chrome-bottom .options-bar a:hover {
  background: #dfdfdf;
}

.chrome-bottom .options-bar .icons-bar {
  padding: 3px;
  margin-left: 4px;
  display: flex;
  flex-wrap: nowrap;
}

.chrome-bottom .options-bar .icons-bar .arrows {
  flex: 0 0 85px;
  flex-direction: row;
  align-self: center;
}

.chrome-bottom .options-bar .icons-bar .arrows a {
  color: #5a5a5a;
  padding: 4px;
}

.chrome-bottom .options-bar .search-bar {
  width: 100%;
}

.chrome-bottom .options-bar .search-bar input {
  border: 1px solid grey;
  border-radius: 4px;
  padding: 8px;
  width: 100%;
  text-indent: 87px;
}

.chrome-bottom .options-bar .search-bar input:focus {
  outline: none;
}

.chrome-bottom .options-bar .search-bar .info {
  position: absolute;
  font-size: 12px;
  color: #27ae60;
  border-right: 1px solid rgba(128, 128, 128, 0.808);
  padding: 9px;
  cursor: default;
}

.chrome-bottom .options-bar .search-bar .info:hover {
  background: rgba(128, 128, 128, 0.2);
}

.chrome-bottom .options-bar .search-bar .star {
  position: absolute;
  font-size: 12px;
  color: grey;
  padding: 6px;
  top: 5px;
  right: 27px;
  border-radius: 2px;
  cursor: default;
}

.chrome-bottom .options-bar .search-bar .star:hover {
  background: rgba(128, 128, 128, 0.2);
}

.chrome-bottom .options-bar .points-bar {
  border-radius: 3px;
}

.chrome-bottom .options-bar .points-bar a {
  color: #5a5a5a;
}

.chrome-bottom .options-bar .points-bar .points {
  display: inline-flex;
  transform: rotate(90deg);
  cursor: default;
  color: grey;
  margin-top: 6px;
  border-radius: 3px;
}

.chrome-bottom .options-bar .points-bar:hover {
  background: rgba(128, 128, 128, 0.2);
}

.chrome-bottom .bookmarks {
  flex: 0 0 24%;
  background: #f2f2f2;
}

.chrome-bottom .bookmarks .folder-book {
  cursor: default;
  border-radius: 1px;
  display: inline;
}

.chrome-bottom .bookmarks .folder-book a {
  font-size: 12px;
  padding-right: 8px;
  color: rgba(0, 0, 0, 0.836);
  cursor: default;
  padding-bottom: 3px;
}

.chrome-bottom .bookmarks .folder-book i {
  padding: 1px 8px 0px 10px;
  font-size: 16px;
  vertical-align: bottom;
}

.chrome-bottom .bookmarks .folder-book i.fa-css3-alt {
  color: #1b73ba;
}

.chrome-bottom .bookmarks .folder-book i.fa-windows {
  color: grey;
}

.chrome-bottom .bookmarks .folder-book:hover {
  background: #dfdfdf;
}

.chrome-bottom .bookmarks .folder-book:first-child {
  margin-left: 4px;
}

.chrome-bottom .bookmarks .folder-book:first-child a {
  vertical-align: baseline;
}

.chrome-bottom .bookmarks .folder-book span {
  background: #1f8dd6;
  padding: 1px 3px 0px 3px;
  font-size: 13px;
  color: white;
  vertical-align: text-top;
  margin-right: 8px;
  margin-left: 8px;
} 

Final Output:

Create a Stunning Windows 10 Desktop Clone with HTML and CSS.gif

Conclusion:

As we come to the end of this exhilarating journey, you've accomplished something truly remarkable – you've created your very own Windows 10 desktop clone using the power of HTML and CSS. Congratulations are in order, but the real reward lies in the knowledge and experience you've gained.

Throughout this guide, you've learned how to structure a virtual desktop, apply CSS styling to mimic the Windows 10 UI and infuse interactivity into your creation. You've seen firsthand how web technologies can bring to life the familiar interface that millions interact with daily.

But this is only the beginning. What you've crafted here is a foundation upon which you can build endless possibilities. Imagine integrating personalized widgets, adding dynamic animations, or even incorporating features that the real Windows 10 might envy. The sky's the limit, and your creativity is the fuel.

As you continue your journey as a web developer, designer, or technology enthusiast, remember that every project you undertake contributes to your growth. The skills you've honed here – from structuring elements to crafting intricate styles – will serve you well in the ever-evolving digital landscape.

So, what's next? Explore, experiment, and innovate. Use this clone as a launchpad for your imaginative endeavors. Blend your artistic flair with your technical prowess to develop interfaces that captivate, engage, and inspire.

Whether you're showcasing your creation to potential clients, and peers, or simply adding a unique touch to your personal website, the Windows 10 desktop clone you've built is a testament to your dedication and skill. It's a digital masterpiece that reflects your passion for technology and design.

As you embark on your next adventure, remember that the world of web development is vast and dynamic. Stay curious, keep learning, and embrace challenges with open arms. With each project you undertake, you're not just creating code; you're shaping experiences, sparking connections, and leaving your mark on the digital canvas.

Thank you for joining us on this journey to create a Windows 10 desktop clone. Your dedication and enthusiasm inspire us, and we can't wait to see the incredible innovations you'll bring to life in the realm of web development.

Keep coding, keep designing, and keep pushing boundaries. The digital landscape is yours to explore and conquer. Until our next creative endeavor – farewell and best of luck on all your future coding escapades!

That’s a wrap!

I hope you enjoyed this post. Now, with these examples, you can create your own amazing page.

Did you like it? Let me know in the comments below 🔥 and you can support me by buying me a coffee.

And don’t forget to sign up to our email newsletter so you can get useful content like this sent right to your inbox!

Thanks!
Faraz 😊

End of the article

Subscribe to my Newsletter

Get the latest posts delivered right to your inbox


Latest Post