Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <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>
              
            
!

CSS

              
                $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%;
    }
}

              
            
!

JS

              
                
              
            
!
999px

Console