How To Set The Css Of The Li:before With Ng-style
I want to change the width value of the li:before with a variable scope (width).
Solution 1:
Unfortunately you cannot have
pseudoelementswithininline styling. What you could do is have two sepparateCSS Classeslike.a:before {} .b:before {}This way you could use ngClass to add the appropriate class to your HTML
Post a Comment for "How To Set The Css Of The Li:before With Ng-style"