YouTube logo Using HTML and CSS


Overviews

Hello readers, today in this blog you are going to learn how to create a YouTube logo using only HTML and CSS. Logo are consistent and should be taken care of throughout your business. It provides a convenient way for potential clients to showcase your business while also allowing you to expand your skills/experiences and services.

Nowadays people go to free logo maker sites, put some shapes or vectors and embed their link name. It is clear that people who follow these lines are crushing the future of their association. The emblem is part of the Association's Advanced Arms Reserve, which handles your engagement 24/7, likewise in places you can't even imagine. Making a master order is a smart move. Exactly when a client goes to an expert logo designer like you, you will need these logo mockups to discreetly show your structures to the client. So for now let's check out YouTube Logo CSS Animation along with the source code. In case you know Youtube, you should know how the logo is similar. Be that as it may, in this structure, the manufacturer added a small impact to the logo.


YouTube logo HTML CSS

--- Source Codes ---

To create this logo (YouTube logo), you need to create two files: an HTML file and a CSS file. After creating these files, just paste the following codes into your file.


1. HTML

 First, create an HTML file named index.html and paste the given code into your HTML file. Remember that you must create a file with a .html extension and the images used on this website will not appear. You have to download the files from the given download button to use the images as well.


<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>YouTube-logo || Codewithzan</title>
  <link rel="stylesheet" href="style.css" />
</head>
<body>
  <div class="youtube-logo">
    <div class="logo">

    </div>
  </div>
  <div class="youtube">
    <p>
      YouTube
    </p>
  </div>
</body>
</html>

2. CSS

Second, create a CSS file named style.css and paste the given symbols into your CSS file. Remember that you must create a file with a .css extension.

* {
    margin: 0;
    padding: 0;
    background-color: #e9e7fe;
    font-family: Arial;
    box-sizing: border-box;
    outline: none;
  }
  body {
    height: 100vh;
    justify-content: center;
    align-items: center;
    display: flex;
  }
  .youtube-logo {
    display: flex;
    border-radius: 45px;
    box-shadow: 5px 5px 12px #6957f2;
    padding: 40px 75px;
    background-color: #b50c38;
  }
  .logo {
    height: 0px;
    width: 0px;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 50px solid #f9f8ff;
    background-color: #b50c38;
  }
  .youtube {
    margin: 30px;
    background-color: #f1f1fe;
  }
  .youtube p {
    font-size: 140px;
    font-weight: bold;
    color: #060416;
    text-shadow: 5px 5px 12px #6957f2;
  }
That's it, you have now successfully created a YouTube logo using only HTML and CSS. If your code does not work or you encounter any error/problem, please download the source code files from the given download button. It is free and the .zip file will be downloaded and then you have to extract it. If you face any problem while downloading or after downloading the source code files, feel free to comment or contact us through the contact page.

Post a Comment

Previous Post Next Post

Contact Form