I need to change pseudo element (::before) style in javaScript by DOM style. How can I do that?
Like this
document.getElementById("new-store-nav").style.color= "#000";
I have changed this style by calling ID but how can I call ::before in javascript?