0

Is there a way to override the style of after/before with jQuery? I have dynamic values, calculated from JS, so I can't add a class.

I need something like, how we override classes with adding jQuery inline styles but for :after and :before pseudo class.

Thanks in advance. :)

feeela
  • 29,399
  • 7
  • 59
  • 71
kvn
  • 2,210
  • 5
  • 20
  • 47
  • 1
    Check out this one :["Manipulating CSS pseudo-elements using jQuery (e.g. :before and :after)"](http://stackoverflow.com/questions/5041494/manipulating-css-pseudo-elements-such-as-before-and-after-using-jquery/21709814#21709814) – Raźnyy Jun 24 '15 at 12:38
  • Short answer, you can't. – Radu Andrei Jun 24 '15 at 12:47

0 Answers0