css - Is there any plug-in that can directly output the styles in the style sheet to the corresponding elements to style?
学习ing
学习ing 2017-06-24 09:43:08
0
2
823

Looking for a plug-in like this, which is to write the style and output it to the corresponding element to the style

eg:

<style>
.foobar { background: #fff; }
</style>
<p id="a" class="foobar"></p>
<p id="b" class="foobar"></p>

<!-- 转换为 ↓↓↓ -->

<p id="a" class="foobar" style="background: #fff;"></p>
<p id="b" class="foobar" style="background: #fff;"></p>
学习ing
学习ing

reply all(2)
曾经蜡笔没有小新

I don’t know why you want to do this. Using css is for browser caching and better maintenance, but outputting it to style only increases these problems

学霸

I found it myself
https://github.com/jonkemp/gu...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template