Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
zimbatm b55917c370 Merge pull request #95 from inquam/master 8 лет назад
css Added Twitch 8 лет назад
site index.html: import from http://zocial.smcllns.com/ 9 лет назад
src Added Twitch 8 лет назад
templates Added Twitch 8 лет назад
.fontcustom-manifest.json Added Twitch 8 лет назад
.nojekyll Host sample on gh-pages 9 лет назад
CNAME Add CNAME 9 лет назад
History.md Release v1.1.1 9 лет назад
LICENSE Add LICENSE file 9 лет назад
README.md Update fontcustom link 9 лет назад
bower.json Remove excess comma in main array 9 лет назад
composer.json composer.json: cleanup 9 лет назад
fontcustom.yml fontcustom config with comments 9 лет назад
index.html index.html: Fix number of icons. s/42/100/ ! 9 лет назад
package.json Release v1.1.1 9 лет назад
sample.html Updated sample page to include Twitch 8 лет назад

README.md

Zocial CSS social buttons

I basically rewrote this entire set so they are full vector buttons, meaning:

  • @font-face icons
  • custom font file for all social icons
  • icon font use private unicode spaces for accessibility
  • em sizing based on button font-size
  • support for about 83 different services
  • buttons and icons supported
  • no raster images (sweet)
  • works splendidly on any browser supporting @font-face
  • CSS3 degrades gracefully in IE8 and below etc.
  • also includes generic icon-less primary and secondary buttons

Demo

How to use these buttons

<button class="zocial facebook">Button label here</button>

or

<a class="zocial twitter">Button label</a>
  • Can be any element e.g. a, div, button etc.
  • Add class of .zocial
  • Add class for name of service e.g. .dropbox, .twitter, .github
  • Done :-)

Check out zocial.smcllns.com for code examples.

There’s also a LESS version from @gustavohenke here

Problems, questions or requests to @smcllns

CDN

This project is available on CDNJS: https://cdnjs.com/libraries/css-social-buttons

How to contribute

  1. Install Font Custom
  2. Add new font in the src/ folder.
  3. Set color settings in the templates/zocial.css file.
  4. Run fontcustom compile
  5. Update the sample.html file with both the button and icon.
  6. Test rendering. If broken go to step 2.
  7. Send pull-request !

License

Under MIT License