Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Instagram new logo css background

Tags:

css

instagram

Recently, Instagram logo has changed as you all know. I need vector logo but it is not possible, I mean gradients. Is there any css code for new logo?

like image 219
Oğuzhan Kahyaoğlu Avatar asked Jun 10 '16 14:06

Oğuzhan Kahyaoğlu


People also ask

What is the background color of Instagram logo?

By default, the Instagram icon has the old-style red background. If you'd rather use Instagram's newer yellow / purple color gradiant for the background, this post explains how.


2 Answers

Here is the css code for background color:

.instagram{ width:100px; height:100px;    background: #f09433;   background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);   background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);   background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);   filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );    }
<div class="instagram"></div>
like image 153
Oğuzhan Kahyaoğlu Avatar answered Sep 18 '22 09:09

Oğuzhan Kahyaoğlu


Here's the code for the icon with the gradient background. Hope this helps. :)

#insta {    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);    -webkit-background-clip: text;            /* Also define standard property for compatibility */            background-clip: text;    -webkit-text-fill-color: transparent;        font-size: 200px; /* change this to change the size*/      }
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" rel="stylesheet" />  <i class="fa fa-instagram" id="insta" aria-hidden="true"></i>

I found 2 more great implementations of the font awesome icon here- https://codepen.io/monir/pen/wGZWvB (new logo) https://codepen.io/thomasrye/pen/VaRoYv (old logo)

like image 23
sarthak7gupta Avatar answered Sep 21 '22 09:09

sarthak7gupta