G-Loot DS — gauge size

by Augustin Hiebel

HTML

<!-- you can set the size of your gauge by assigning tailwind class names to the svg element --> 
<div class="gauge" style="--percent:85;">
  <div class="gauge-chart">
    <svg class="h-16 w-16 lg:h-28 lg:w-28" viewBox="0 0 126 126" fill="none" xmlns="http://www.w3.org/2000/svg">
     ...
    </svg>
  </div>
  <div class="gauge-content">
    ...
  </div>
</div>