0.01
No commit activity in last 3 years
No release in over 3 years
Sass function for find a character unicode.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 3
 Project Readme

Sass Get Unicode Plugin

This plugin allow you to use easily a special character in a pseudo element (i.e. ::before and ::after).

Example:

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à !

Installation

gem install sass-getunicode

Usage

Use with the Sass command line

sass -r sass-getunicode --watch sass_dir:css_dir

Use with compass

Add the following to your compass configuration:

require 'sass-getunicode'

Credit

Copyright

Copyright (c) 2013 Victor Coulon - Hull. Licence MIT