Git Product home page Git Product logo

css-social-media-buttons's People

Contributors

ameijernl avatar cafferata avatar timhuisman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

css-social-media-buttons's Issues

MySpace button

Add a MySpace button (as .myspace) using the current favicon as icon. Two variations possible: blue background with white icon or grey background with white icon (more New MySpace).

Button breaks when content added

Adding content in the button will cause it to break: the icon and the :after layer are pushed down and start halfway the button, while the content is beneath the :before layer.

Possible solutions might be the use of overflow: hidden, position: absolute (instead of position: relative on the :before and :after layer) and text-indent: -9999px

Icon font instead of images?

Perhaps it would be interesting to use an icon font (for example IcoMoon) instead of image sprites. Thoughts?

Pros

  • Removes the need of constantly updating four images (the source files and sprites).
  • No extra effort needed to make icons look good on Retina screens.
  • Better scalability (in case I or anyone else ever decides to change the size of the buttons).

Cons

  • Icons have the tendency to become 'pixelated' (not really the right word for it) when becoming smaller. Especially on non-Retina screens.
  • Dependent on available icons: how they look and which are available.
  • Only single color icons: meaning that the whole icon is in the same color.

Medium.com buttons

Hey there, @timhuisman, any chance you can make some buttons for Medium? I'd love to send a PR, but I can't for the life of me figure out how to create the icons. Thanks in advance!

Add minified LESS/SCSS

Add social-buttons.min.less and social-buttons.min.scss (duplicate of existing file) for easier compiling of the LESS and SCSS into a minified and unminified version.

Alternative Foursquare button

Add a second Foursquare button (as .foursquare-alt) using the icon used on blog as icon. Two variations possible: white icon on a blue background (see picture) or white background with blue icon (as used in the favicon of the Foursquare blog).

Alternative Facebook button

Add a second Facebook button (as .facebook-alt) using the favicon as icon: with the 'f' stuck in the rightbottom corner and a light blue beam.

Large Buttons

Hello,

Would it be possible to add a .large class that makes the buttons larger? I was able to accomplish this artificially using the following css:

.csmb.large, .csmb-flat.large {
  background-image: url("../images/icon-sprite-x2.png");
  height: 56px;
  width: 56px;
  background-size: auto !important;
}

However, as you might imagine, this makes the images look pixelated on retina devices.

Thank you for a wonderful product! This is the best CSS sprite and css I have found so far ๐Ÿ˜„

More buttons?

Do you think a button is missing or an alternative version of an existing button is needed? Let me know in this issue! Or when feeling adventurous: add them yourself (Fork away!), but please let me know which button you are working on.

! Please add an image for reference when making a request.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.