Sunday, 19 April 2015

.css to .scss and replace background image

change .css to .scss and replace background image

use image-url helper because we use cdn


Test it here: http://rubular.com/r/jp9hczSTHY
Find: url\((.*\.(jpg|JPG|gif|GIF|png|PNG))\)
Replace: image-url("$1")
view raw gistfile1.txt hosted with ❤ by GitHub

No comments:

Post a Comment