adc

clicks

Skills Bar Design With html and css|| Horizontal Bar Chart with Html & CSS

 Skills Bar Design With html and css|| Horizontal Bar Chart with Html & CSS

 I showed you how to build a nice fullscreen holdings page. When that tutorial we also discovered how to create a responsive CSS column chart. In this tutorial we’ll build another charming static collection page, this time featuring a pure CSS bar chart without using html and css

 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>skils bar</title>
    <link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
    <div class="main">
        <h1>My Skils</h1>

        <h3>html</h3>
        <div class="container">
            <div class="skils html"></div>
        </div>

        <h3>css</h3>
        <div class="container">
            <div class="skils css"></div>
        </div>

        <h3>javascript</h3>
        <div class="container">
            <div class="skils js"></div>
        </div>

        <h3>php</h3>
        <div class="container">
            <div class="skils php"></div>
        </div>
       
    </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.

 *{
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
h1{
    text-align: center;
}


.main{
    margin-top: 10%
}
.main h3{
    margin-bottom: 5px;
    margin-left: 25%
}
.container{
    width: 50%;
    background-color: #d1e0e0;
    margin-left: 25%;
    border-radius: 5px;
}
.skils{
    text-align: right;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
    border-radius: 5px;
}
.html{
    width: 90%;
    background-color: #4CAF50;
}
.css{
    width: 75%;
    background-color: #03A9F4;
}
.js{
    width: 65%;
    background-color: #5b52cd;
}
.php{
    width: 45%;
    background-color: #282732;
}

 

 

Youtube Video Tutorials

 

 

Youtube

Skills Bar Design With html and css|| Horizontal Bar Chart with Html & CSS Skills Bar Design With html and css|| Horizontal Bar Chart with Html & CSS Reviewed by easycoding on August 10, 2020 Rating: 5

No comments:

Powered by Blogger.