Polyfill for `hanging-punctuation` CSS property
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
.gitignore
LICENSE.md
README.md
gosh-hang-it.js
index.html
package.json
style.css

README.md

Gosh Hang It!

Gosh Hang It is a simple polyfill for the hanging-punctuation CSS property, which exists in the spec but is not supported by any major browser.

Here is an example!

Usage

Gosh Hang It has one dependency, and that's polyfill.js. It's included in the repo! All you have to do is:

  1. Add polyfill.js and gosh-hang-it.js to your HTML
  2. Apply the CSS property hanging-punctuation: first; to your stylesheets liberally
  3. Rejoice 🎈

Hang in there