Posted in css
2864
5:10 am, February 10, 2021
 

github logo background png css

just the github transparent logo as a css class, yes it should probably be a svg, but here it is in all its PNG glory.

HTML

<div class='github-logo'></div>

CSS

.github-logo {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKsAAACrCAMAAAAuNpwrAAAApVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+4/eNVAAAANnRSTlMA+QUI7QzzhHIYE42bKPZKYj44tdxc0yzo12jl4MoloEPFH62VD859MaZsUUi/illWTrvHwna6NESbAAAKHElEQVR42szWWXOiQBiF4dPNKrsoKG7g6OC+YOL5/z9tqnI5qRggLHmu++57q+ugSXKw2g/9W2DuzODmD/ergcTvMxjO7NFY8H9iPLJnwwF+Cc23lzo/iOk4v4wOjm3YzmF0ycdTwQ/60vY19EvJjDdBkuo6fRau/FyFWzzTtUqS4s3IFPTEml0ESbE2Muu7p5mx/nh7mVnonDxtBMnl9ayVbeV8XZIUm5NEl8KtSorR7S+qsW4jQarbEB2RQUIyNweoY2DmJJNAon3KbEHOrxPUN7nOycVMQbs0c0rGkcTPyCgmp6aG9mg7lVye0ITTklR3Glpyn5PvZzTl/E7O72jD6kGuh2jS8I18rNA0xRBUAzQtUCkMBY0qFqRjoXmWQy4KNEdLyTxEO8KcTDU0ZJJQP0q0RR51JpOGmvIYu2iTG9MLGrq/o6BdikOmWhP3j9C+6OcdZHrl+9fvQM/wA3fBVEE3lAPFHbUdSRvdsckjajLIJ7r0JA3UIR2KCN2KBB2JyuSGno+u+R43ElU5VEN0L1TpVG/VC9GH0Kva7JHCRz98Ue03uJMR+hKRd5SWCZroj0mRoaSJTht9sqlPUIqW8IB+HZhoKCNlrKBfSswUJQTUXfTN1RmUiNVjhP5F9CYlYnXwGzhMtDZjlQM3PJ9uURAE0b3IQteSLSZb1I5Vuqeds1nHc9UTJIWnLuL3zdb0/8j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uCVAXbFCr42XS4P/nhRMpAljQ9HVVr52UL22rg6+ioCxPxJgTymsg9feL/CDs9xhlxrNlwUawzpSiZiWPfY2/Ph8O07WfH9fVf7d/M3oZOupwvc2+uzD+K9fxMUPj4+LyCS3g608m+D7MP32jMIDyaS4rXyd9tszYiW9MBB3xnvY6uUFA3mhsvdenFFG2rYutkJnL05/39DYHbiWrWbma+4b6u9xisTiGrau/pZ3LysIAmEYhnEqHUNbWIYZdhAiaxWFc/+XFuhSBhn+Dr7q1s0sRGbzPa8u3Xec8n3srDo7n3UdK8E+VrI7Xtx3K4ez+sVDsDsW77kPwcs37RP33LPmTx2K9tzynXyctyvZzHbDr5rX+2NaSnfycn9AhUmw9TapHbbMvKJOlgJ/4KOug1Kq/6276zAiLwPlkKB8F5SbQ/KI/u481cY7jdLPQrlkKO8N5eihfEKS+9h8sz/+dWljggk4pY3/eoP4ryhXF+UVoxxolK/NcstRHjzK2Wf1C1BdCFZvg9UxQfVhWN0dVs9I1Im6uHaiJtbfYnXNOr24yNqLiwbQi4N1+Gh9w243MtdXnX+hG/kGQE0mWpDbCOQAAAAASUVORK5CYII=);
    background-repeat: no-repeat;
    background-position: 50%;
    margin-bottom: 1rem;
}

View Statistics
This Week
89
This Month
315
This Year
809

No Items Found.

Add Comment
Type in a Nick Name here
 
Other Items in css
flex to align pagination in list format make an image or element grayscale switch on mouse over rotate an element when its hover rotate an element when its selected Left Fixed nav with right fluid content css html vertical center css cursor types testing CSS Object Fit for Image fill rather than using background image on a div flip card animation 3d front and back css html six box grid css html custom no gap four box grid css html custom Kinda Crappy 3D button code 4 box custom grid css layout stack on mobile 1024 lower use an image in your list items ol ul li css grid container with 4 auto columns select something with custom data attribute css rainbow text background clip with linear gradient content-visibility and contain-intrinsic-size for page load rendering speed increase set a css grid to auto to make it stack on mobile truncate text with line clamp allow a certain number of lines using the :user-valid CSS pseudo-class add a button to an existing link using :after css bouncing loader animation in css center a box in the middle of the screen highlight a button with an animation css add an outline to everything! hide the first h3 tag on the page with css center align vertical 2 items in a container flex simple javascript no library accordion button zoom effect with expanding background scroll left animation using css counter-increment to add numbering to elements hidden scroll anchor for custom scroll position ken burns slow image zoom using a radial gradient for background overlay change selected color on input elements css animated duck on footer using filter grayscale to make an image dark bootstrap dark mode twitter icon font awesome how to bundle css files together using windows or mac button with separated chevron vertically align text within a fixed height div using flex how to view a web page in its printer format white space break word css roboto and poppins fonts include quick code CSS Drawing - Beach Scene 404 Error Page Codepen right align something in its element hide the third row in a table with css
Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
“If you just sit and observe, you will see how restless your mind is. If you try to calm it, it only makes it worse, but over time it does calm, and when it does, there’s room to hear more subtle things. You see so much more than you could see before. It’s a discipline; you have to practice it.”
Steve Jobs
Random CSS Property

counter-set

The counter-set CSS property sets a CSS counter to a given value. It manipulates the value of existing counters, and will only create new counters if there isn't already a counter of the given name on the element.
counter-set css reference