Skip to content

Latest commit

 

History

History
4 lines (3 loc) · 421 Bytes

README.md

File metadata and controls

4 lines (3 loc) · 421 Bytes

PseudoClassStyle

Sometime we need to change pseudo class ::before and ::after style dynamicaly from script but it is not simple way to do it. Now we can use this script to change pseudo class ::before and ::after style using jQuery. It is work in Firefox 50.

In this script, I create 3 stylesheets to show you how does it works. Wherever we initialize the pseudo class style, it will modify style on last stylesheet.