30% Discount Get your Kallyas WordPress license Today for only $49! Or renew your support at $18 for extra 6 months. Shop Now

How to use the animated skills diagram


The animated skills diagram style can be customized from scss > eleemnts > _skillsDiagram.scss

Also the diagram is initialized from modules/AnimatedSkillsDiagram/js/init.js

The diagram use the following sintax:

<div class="cg__skillsDiagram cg__skillsDiagram--style1"> 
  <div id="content">
    <div class="legend">
      <div class="skills">
          <li class="skill1">Intrinsicly disintermediate</li>
          <li class="skill2">[...]</li>
          <li class="skill3">[...]</li> 
    <div id="diagram"></div>
  <div class="get"> 
    <div class="arc"> 
      <span class="text">Intrinsicly disintermediate</span>
      <input type="hidden" class="percent" value="57" /> 
      <input type="hidden" class="color" value="#60b1d5" />
    <div class="arc">[...]</div><!--/.arc--> 
    <div class="arc">[...]</div><!--/.arc--> 

The diagram skills colors and percent can be customized by changing the “background-color” rule and “data-percent” attribute.

<div class="skills_list">
    <li class="skill1" data-percent="57" style="background-color:#60b1d5">Intrinsicly disintermediate</li>
    <li class="skill2" data-percent="77" style="background-color:#2297cd">Globally cultivate</li>
    <li class="skill3" data-percent="83" style="background-color:#742bad">Distinctively restore</li>
</div> <!--/.skills-->

You can find more regarding this element at: https://tympanus.net/codrops/2011/04/22/animated-skills-diagram/