This plugin allow you to use easily a special character in a pseudo element (i.e. ::before and ::after).
There is only one Sass::Script
functions which can be used in your sass.
.foo:after{
content:getUnicode('⬆');
}
Compiles to:
.foo:after{
content:"\2b06";
}
Et voilà !
gem install sass-getunicode
sass -r sass-getunicode --watch sass_dir:css_dir
Add the following to your compass configuration:
require 'sass-getunicode'
- Thanks to Thibault for his help :-)
Copyright (c) 2013 Victor Coulon - Hull. Licence MIT