And 1 more thing, with regards to CSSRulePlugin, as Jack said earlier that the CSSRulePlugin is still in the version 3, the code couldn't find my pseudo element.. this is just a sample but if you can see the error i'm referring to regarding the CSSRulePlugin.. i've imported the CSSRulePlugin https://jsfiddle.net/8vetu3wr/9/