<div class="container">
      <div class="main-container">
            <div class="main-container__header">
                  <h2 class="main-container__header__title">CSS</h2>
            </div>
            <div class="main-container__content">
                  <div class="skillbar" data-skillbar-value="26"></div>
            </div>
      </div>
      <div class="main-container">
            <div class="main-container__header">
                  <h2 class="main-container__header__title">JS</h2>
            </div>
            <div class="main-container__content">
                  <div class="skillbar" data-skillbar-value="16"></div>
            </div>
      </div>
      <div class="main-container">
            <div class="main-container__header">
                  <h2 class="main-container__header__title">SVG</h2>
            </div>
            <div class="main-container__content">
                  <div class="skillbar" data-skillbar-value="50"></div>
            </div>
      </div>
      <div class="main-container">
            <div class="main-container__header">
                  <h2 class="main-container__header__title">HTML</h2>
            </div>
            <div class="main-container__content">
                  <div class="skillbar" data-skillbar-value="32"></div>
            </div>
      </div>
      <div class="main-container">
            <div class="main-container__header">
                  <h2 class="main-container__header__title">Canvas</h2>
            </div>
            <div class="main-container__content">
                  <div class="skillbar" data-skillbar-value="90"></div>
            </div>
      </div>
      <div class="main-container">
            <div class="main-container__header">
                  <h2 class="main-container__header__title">Game</h2>
            </div>
            <div class="main-container__content">
                  <div class="skillbar" data-skillbar-value="100"></div>
            </div>
      </div>
</div>
@import url("https://fonts.googleapis.com/css?family=Exo+2:300,400,500,600,700,900|Fira+Sans+Condensed:400,500,600,700,800,900|Montserrat:400,500,600,700,800|Oswald:300,400,500,600,700|Play:400,700|Roboto+Condensed:400,700|Roboto:300,400,500,700,900&display=swap&subset=cyrillic");

* {
      box-sizing: border-box;
}

body {
      font-family: "Oswald", sans-serif;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
      min-height: 100vh;
      background: #efefef;
      margin: 0;
}

.container {
      width: 100%;
      max-width: 1300px;
      display: grid;
      grid-gap: 20px;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      padding: 30px;
      overflow: hidden;
}

.main-container {
      width: 100%;
      position: relative;
      padding: 30px 20px;
      background-color: #ffffff;
      border-radius: 10px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
}

.main-container__header {
      margin-bottom: 25px;
      position: relative;
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
}

.main-container__header__title {
      font-size: 17px;
      font-weight: normal;
      text-align: center;
      color: #252525;
      display: flex;
      justify-content: center;
      align-items: center;
      text-transform: uppercase;
      letter-spacing: 1px;
}

.rating {
      margin: 40px auto;
      display: block;
}
.rating__background {
      stroke: #ddd;
      stroke-width: 10px;
}
.rating__line {
      stroke: #000;
      stroke-width: 10px;
      transform-origin: center;
      transform: rotate(-90deg);
      stroke-linecap: round;
}
const SKILLBAR = {};
SKILLBAR.renderNode = (el, template) => {
      el.innerHTML = template(el).replace(/undefined/g, "");
      return el.childNodes;
};

const circles = document.querySelectorAll(".skillbar");

// Init

const radius = 95;
const circumference = radius * Math.PI * 2;

const Rating = (rating) => () => `
  <svg width="200px" height="200px" viewBox="0 0 200 200" class="rating">
    <circle cx="100" cy="100" r="95" fill="none" class="rating__background" />
    <circle cx="100" cy="100" r="95" fill="none" class="rating__line" style="stroke-dasharray: ${circumference}; stroke-dashoffset: ${
      circumference - circumference * (rating / 100)
}" />
    <text alignment-baseline="middle" text-anchor="middle" x="100" y="100">${rating}%</text>
  </svg>
`;

circles.forEach((el) => {
      SKILLBAR.renderNode(el, Rating(el.dataset.skillbarValue));
});
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.