title: How to change the CSS attributes inside the particulate class using only JavaScript
body: <p>I know how to change the class of div using JavaScript <code>classList.add</code> and <code>classList.add</code>. But my purpose is change data inside the class using JavaScript.</p>
  
  <p>as example,</p>
  
  <p>let think I have class called example,</p>
  
  <pre><code>.example {
  position:bsolute;
  width:100;
  }
  </code></pre>
  
  <p>Is it possible change the width of example class using JavaScript. If yes, how can I change it?</p>
  
  <blockquote>
    <p>Pure JavaScript only. cant use any libraries.</p>
  </blockquote>