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
 
 
 
 
 
 
 
 

#Entity

A Sass function that will output properly encoded entities.

##Usage The entity function accepts the actual character, the HTML name without the ampersand and semi-colon or the decimal number.

body {
  &:after {
    content: entity('€');
  }
}

or

body {
  &:after {
    content: entity('euro');
  }
}

will output

body:after {
  content: "\20AC";
}

Requirements

  • Sass ~> 3.3.0

About

A Sass function that will output properly encoded entities.

Resources

Releases

No releases published

Packages

No packages published

Languages