Changing pseudo-element style from javascript
问题 How I can change CSS for a pseudo element style? I am trying to get the CSS before:: rule and change left: to 95% or 4px . How can I perform this in my context? I've also made some test using document.querySelector but it doesn't work, I get a compute Read-Only error. Do you have suggestions? Example: css .iziToast-wrapper-bottomLeft .iziToast.iziToast-balloon:before { border-right: 15px solid transparent; border-left: 0 solid transparent; right: auto; left: 8px; } js if(description_iziToast)