jquery - Remove CSS atribute from body::after -


i'm trying remove background-image attribute jquery had no success until now. '::after' don't let me remove-it. how can that?

body::after { background-image: url(../images/16_sm.jpg); }

try this,

html:

<body class='test'> 

css:

.test::after{  background-image: url(../images/16_sm.jpg); } 

js:

$('body').removeclass('test'); 

Comments

Popular posts from this blog

mysql - java.sql.SQLException Parameter index out of range (1 > number of parameters, which is 0) -

c - ALSA programming: how to stop immediately -