skills

In this example below you will see how to do a skills with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by liberroi, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright liberroi ©
  • HTML
  • CSS
  • JavaScript
    <section class="skills">
  <div class="skillsHead">
    <h1>My <span>Skills</span></h1>
    <div class="hr"></div>
  </div>
  <div class="skillsMain">
    <div class="bar">
      <p>HTML</p>
      <div>
        <div class="fill html"></div>
        <div class="font-comment">
          <i class="far fa-comment"></i>
          <span class="count">95</span>
          <span>%</span>
        </div>
      </div>
    </div>
    <div class="bar">
      <p>CSS</p>
      <div>
        <div class="fill css"></div>
        <div class="font-comment">
          <i class="far fa-comment"></i>
          <span class="count">90</span>
          <span>%</span>
        </div>
      </div>
    </div>
    <div class="bar">
      <p>SCSS</p>
      <div>
        <div class="fill scss"></div>
        <div class="font-comment">
          <i class="far fa-comment"></i>
          <span class="count">80</span>
          <span>%</span>
        </div>
      </div>
    </div>
    <div class="bar">
      <p>JS</p>
      <div>
        <div class="fill js"></div>
        <div class="font-comment">
          <i class="far fa-comment"></i>
          <span class="count">50</span>
          <span>%</span>
        </div>
      </div>
    </div>
  </div>
  <div class="skillsMain">
    <div class="bar">
      <p>JQuery</p>
      <div>
        <div class="fill jquery"></div>
        <div class="font-comment">
          <i class="far fa-comment"></i>
          <span class="count">20</span>
          <span>%</span>
        </div>
      </div>
    </div>
    <div class="bar">
      <p>AJAX</p>
      <div>
        <div class="fill ajax"></div>
        <div class="font-comment">
          <i class="far fa-comment"></i>
          <span class="count">60</span>
          <span>%</span>
        </div>
      </div>
    </div>
    <div class="bar">
      <p>Web Design</p>
      <div>
        <div class="fill design"></div>
        <div class="font-comment">
          <i class="far fa-comment"></i>
          <span class="count">40</span>
          <span>%</span>
        </div>
      </div>
    </div>
    <div class="bar">
      <p>UI/UX</p>
      <div>
        <div class="fill uiux"></div>
        <div class="font-comment">
          <i class="far fa-comment"></i>
          <span class="count">30</span>
          <span>%</span>
        </div>
      </div>
    </div>
  </div>
  </div>
</section>

/*Downloaded from https://www.codeseek.co/liberroi/skills-ZvqqJq */
    $blue: #25363E;
$darkblue: #5B85E4;
$gray: #7E5535;
$skyblue: #FBE8BD;
$headcolor: #DCAE56;

@mixin flex($justify, $align, $wrap) {
    display: flex;
    justify-content: $justify;
    align-items: $align;
    flex-wrap: $wrap;
}

@keyframes open95 {
    0% {
        width: 1px;
    }
    100% {
        width: 95%;
    }
}

@keyframes open90 {
    0% {
        width: 1px;
    }
    100% {
        width: 90%;
    }
}

@keyframes open80 {
    0% {
        width: 1px;
    }
    100% {
        width: 80%;
    }
}

@keyframes open50 {
    0% {
        width: 1px;
    }
    100% {
        width: 50%;
    }
}

@keyframes open20 {
    0% {
        width: 1px;
    }
    100% {
        width: 20%;
    }
}

@keyframes open60 {
    0% {
        width: 1px;
    }
    100% {
        width: 60%;
    }
}

@keyframes open40 {
    0% {
        width: 1px;
    }
    100% {
        width: 40%;
    }
}

@keyframes open30 {
    0% {
        width: 1px;
    }
    100% {
        width: 30%;
    }
}

section.skills {
    background-color: $skyblue;
    z-index: 25;
    width: 100%;
    @include flex(center, flex-start, wrap);
    padding: 40px 80px;
    min-height: 90vh;

    div.skillsHead {
        width: 100%;
        @include flex(center, center, wrap);
        font-size: 30px;

        h1 {
            font-weight: bold;
            color: $darkblue;
            display: flex;
            justify-content: center;
            width: 100%;
            margin: 0;

            span {
                color: $gray;
            }
        }

        div {
            background-color: $darkblue;
            width: 80px;
            height: 5px;
        }
    }

    div.skillsMain {
        @include flex(center, center, wrap);
        width: 100%;
        font-weight: bold;
        font-size: 25px;
        padding: 0 20px;

        div.bar {
            height: 70px;
            width: 100%;
            @include flex(flex-start, center, wrap);
            margin-bottom: 30px;

            p {
                width: 100%;
                margin: 0;
                color: $gray;
            }

            div {
                height: 15px;
                width: 100%;
                background-color: $gray;
                display: flex;
                justify-content: flex-start;

                div.fill {
                    height: 100%;
                    background-color: $darkblue;
                    box-shadow: 0 8px 30px -1px #555;
                    display: flex;
                    justify-content: flex-end;
                    width: 1px;
                }

                div.font-comment {
                    @include flex(center, center, nowrap);
                    width: 40px;
                    height: 40px;
                    background-color: rgba(255, 255, 255, 0);
                    position: relative;
                    top: -40px;
                    left: 17px;
                    z-index: 10;
                    font-size: 35px;
                    color: $darkblue;

                    span {
                        font-size: 15px;
                        @include flex(center, center, nowrap);
                        width: 40px;
                        height: 40px;
                        position: relative;
                        left: -31px;
                        z-index: 15;
                        color: $gray;
                    }
                }
            }
        }
    }

    &:hover div.html {
        animation: open95 5s alternate infinite;
        animation-timing-function: ease;
    }

    &:hover div.css {
        animation: open90 5s alternate infinite;
        animation-timing-function: ease;
    }

    &:hover div.scss {
        animation: open80 5s alternate infinite;
        animation-timing-function: ease;
    }

    &:hover div.js {
        animation: open50 5s alternate infinite;
        animation-timing-function: ease;
    }

    &:hover div.jquery {
        animation: open20 5s alternate infinite;
        animation-timing-function: ease;
    }

    &:hover div.ajax {
        animation: open60 5s alternate infinite;
        animation-timing-function: ease;
    }

    &:hover div.design {
        animation: open40 5s alternate infinite;
        animation-timing-function: ease;
    }

    &:hover div.uiux {
        animation: open30 5s alternate infinite;
        animation-timing-function: ease;
    }
}

@media only screen and (min-width: 750px) {

    section.skills div.skillsMain {
        width: 50%;
    }
}



/*Downloaded from https://www.codeseek.co/liberroi/skills-ZvqqJq */
    

Comments