更新时间:2023-02-13 16:26:37
我有一种工作使用jquery替换一些div为你的css使用代码:
I kind of got it working using jquery to replace the On with some divs for your css using the code:
cssimage = '<div class="button-wrap"> <div class="button-out">On</div> <div class="button-switch"></div> </div>'
$('span:contains("On")').html(cssimage);