Z
Z
ZaxapKramer2017-04-24 07:15:04
css
ZaxapKramer, 2017-04-24 07:15:04

Is there a plugin for Gulp/Brunch to change selectors prefix in all *.css files?

Hello! Please tell me if there is a plugin for Gulp/Brunch so that from this

/* ... */
.my-button { }
.my-modal  { }
.my-bottle { }
/* ... */

get it?
/* ... */
.his-button { }
.his-modal  { }
.his-bottle { }
/* ... */

Thank you in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Egor Zhivagin, 2017-04-24
@ZaxapKramer

Ctrl-H only )
In Sublime Text you can Shift - Ctrl - F + '.my-' (in the find field) + '.his-' (in the Replace field) + Replace All

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question