title: Get CSS not-computed property-value with Javascript only
body: <p>Because I am quite new to programming and I am discovering Bootstrap right now, I am doing an exercise with containers and rows and col-XX etc., to know how what are their CSS properties.</p>
  
  <p>Therefore, I am looking for getting the CSS values that devs put in the CSS files with Javascript. Not jQuery, but vanilla JS. Not the CSS values computed, but the CSS values written. Like the one we have in the console. I want to get them in order to put them back in a the HTML this way : <code>&lt;p&gt;margin-right: 5%&lt;/p&gt;</code>, for example.</p>
  
  <p>So a lot of people are talking about <code>window.getComputed(element).getPropertyValue("property")</code>, but I am not interested.
  I heard somewhere <code>cssText</code>, but I am not sure that it's the good one.</p>
  
  <p>Is there a solution ? Is there actually a place somewhere where all the property-values-written of a selector are stored, in parallel to the property-values-computed ?</p>
  
  <p>Thanks
  Arnaud</p>
  
  <p>PS: I know the subject is already open <a href="https://stackoverflow.com/questions/3868033/javascript-get-typed-css-values-not-computed-values">there</a> but it opened 7 years ago, and the only self-answer is not satisfying I think...</p>