timhuisman / css-social-media-buttons Goto Github PK
View Code? Open in Web Editor NEWA set of 48 scalable, retina-proof and multi purpose social media buttons.
A set of 48 scalable, retina-proof and multi purpose social media buttons.
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).
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
Add a third Github button (as .github-alt2
) using the current favicon as icon.
Perhaps it would be interesting to use an icon font (for example IcoMoon) instead of image sprites. Thoughts?
Pros
Cons
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 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.
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).
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.
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 ๐
Add a third YouTube button (as .youtube-alt2
) using the current favicon as icon.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.