Skip to content

hull-graveyard/sass-getunicode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Get a character CSS unicode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages