Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Glyph

Glyph is a small extension that will convert a special character to it's CSS hex value for use in :before and :after pseudo content.

Glyph Demo

Installation

Compass

# Install gem
gem install sassy-glyph

# Require in your config.rb file
require 'glyph'

# Import into your project
@import "sassy-glyph";

Usage

Use the glyph mixin in the content property and it will compile to the correct HTML glyph octal

# Use glyph mixin
.arrow:after {
    content: glyph(➜)
}

# CSS compiles to
.arrow:after {
    content: "\279C";
}

About

Easy CSS content glyph character conversion.

Resources

License

Releases

No releases published

Packages

No packages published