adc

clicks

how to make YOUTUBE logo using html and css source code

 how to design a logo using html and css source code

 

 

HTML

Before we start writing code first, we need to create a primary structure of the HTML document, so that the browser can understand and start working. The basic HTML structure looks like the following.

After writing the primary structure of the HTML document, you will also write the tags and content you need. After that, you can see the output in your browser. We know that HTML Sudu Mae is used for exposing content in a basic format. To complete our content we need to use CSS, which is an HTML insert and it creates an engaging user interface.

 <!DOCTYPE html>
<html>
<head>
    <title>youtube logo</title>
    <link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>

    <div class="content">
        <h1>
            <span class="you">You</span>
            <span class="tube">Tube</span>
        </h1>
    </div>

</body>
</html>

CSS

 Now, we have time to improve the HTML content, for that, we need to add CSS to the HTML file. CSS can be added to HTML documents in a total of three ways, here we are using outside CSS design using CSS will arrive here after typing and see the output in your browser.

 body{
    background:#e4e4e4;
}

.content{
    margin: 5px auto;
    width: 960px;
    text-align: center;
}

h1{
    font-family:sans-serif;
    font-size: 150px;

}

.you{
    letter-spacing: -8px;
    text-shadow: 0 2px 0  white;
}

.tube{
    position: relative;
    padding: 0 15px;
    color:#fff;
    letter-spacing: -6px;
    text-shadow:  0 3px 0 #000;
    border-radius: 50%/ 11%;
    box-shadow:  0px 15px 20px -5px rgba(0,0,0,0.67);
    background-image: -webkit-linear-gradient(bottom,rgba(109,2,2)22%, rgba(201,0,0)61%);
    background-image: -moz-linear-gradient(bottom,rgba(109,2,2)22%, rgba(201,0,0)61%);
    background-image: -o-linear-gradient(bottom,rgba(109,2,2)22%, rgba(201,0,0)61%);
    background-image: -ms-linear-gradient(bottom,rgba(109,2,2)22%, rgba(201,0,0)61%);
    background-image: linear-gradient(bottom,rgba(109,2,2)22%, rgba(201,0,0)61%);
}

.tube:before{
    content: "Tube";
    line-height: 172px;
    position: absolute;
    top: 10%;
    bottom:10%;
    right:-5%;
    left: -4.5%;
    background:inherit;
    border-radius: 5%/50%;

}

 

 Watch Videos

 

 Youtube Channel


how to make YOUTUBE logo using html and css source code how to  make YOUTUBE logo using html and css source code Reviewed by easycoding on August 15, 2020 Rating: 5

No comments:

Powered by Blogger.