Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
zimbatm 2d194bada6 index.html: remove unecessary type attributes il y a 9 ans
css fontcustom compile il y a 9 ans
site index.html: import from http://zocial.smcllns.com/ il y a 9 ans
src src/index.html to list all the svgs il y a 9 ans
templates Persona identity il y a 9 ans
.fontcustom-manifest.json fontcustom compile il y a 9 ans
.nojekyll Host sample on gh-pages il y a 9 ans
History.md Release v1.0.0 il y a 9 ans
README.md Simplify contributing steps il y a 9 ans
bower.json Remove moot `version` property from bower.json il y a 9 ans
composer.json Add bower.json file il y a 9 ans
fontcustom.yml fontcustom config with comments il y a 9 ans
index.html index.html: remove unecessary type attributes il y a 9 ans
sample.html Persona identity il y a 9 ans

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

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