README.md

We moved.

This repo and the share-buttons Bower package will remain up for reference, but will no longer receive updates.

Share Buttons

Share Buttons is a project that aims to speed up the web by removing the need for Twitter's, Facebook's, or Google+'s external JavaScript that developers copy-and-paste into their web pages.

The solution is that these social services provide share URLs that you can use to create your own lightweight buttons. Share Buttons provides a consistent and clean look, while only needing a single CSS and JS file.

Documentation

CSS

The share-buttons.css file includes social icons, which come from the fonts folder. You can use the share-buttons-no-icons.css file if you are using your own icons or want text-only buttons.

JS

If you want the sharing URL to open in a popup window/dialog, you can include the share-buttons.js file. This is pure JavaScript that does not rely on any framework, but may not work in older browsers. You can include the share-buttons.jquery.js file if you're using jQuery.

Browser Support

Changelog

Contributing

The best way to contribute is to fork the CodePen demo and test any changes that you want to make.

The CSS is coded in Less, thus I prefer that any pull requests are already added to the Less source files. Also, keep the code clean and similar to how it currently is. I'm looking for volunteers that want to fork the project into Sass. Both versions will be maintained.

If you don't want to bother with Git or Less, just send me your forked pen or hosted code/demo.