Can you identify the distinction?
What is the most effective approach to tackle this issue?
let stylesheets = document.styleSheets[0];
stylesheets.addRule('div::before','content:"text before";');
stylesheets.addRule('#some','color:red;font-size:14px;'); //insertRule FIREFOX
var some = document.getElementById('some');
some.style.color='red';
some.style.fontSize='14px';
some.setAttribute('style','color:red;font-size:14px;');