Sublime Forum

CSS style to class converting

#1

Hi,

I’d like to have a ST feature/plugin that detects all unique style attributes/values within 1 or several HTML pages and converts them into CSS classes and class attributes, the names of which would hint at their content.

Examples:

style=“color:#FF6600” —> class=“cF60”
style=“color:#FF6600;margin-top:20px” —> class=“cF60-mt20”

Does such a plugin already exist?

Ko3

0 Likes