Skip to main content

How to create a instagram logo using html & css

Learn How to create a instagram logo using html & css
source code of How to create a instagram logo using html & css




HTML CODE :-

  1.     <body>
  2.     <div class="logo"></div>
  3.     </body>


css code :-


  1.     * {
  2.         padding: 0;
  3.         margin: 0;
  4.         box-sizing: border-box;
  5.     }

  6.     body {
  7.         height: 100vh;
  8.         width: 100vw;
  9.         display: flex;
  10.         justify-content: center;
  11.         align-items: center;
  12.     }

  13.     .logo {
  14.         width: 300px;
  15.         height: 300px;
  16.         position: relative;
  17.         border-radius: 60px;
  18.         background:
  19.             linear-gradient(350deg,
  20.                 rgba(255, 255, 255, 0) 0,
  21.                 rgba(244, 48, 109, 0) 36%,
  22.                 #f4306d 48%,
  23.                 #d53592 63%,
  24.                 #4258f5 100%),
  25.             radial-gradient(circle farthest-corner at 28% 142%,
  26.                 rgba(255, 104, 177, 0.1) 0,
  27.                 #ffffff 9%,
  28.                 #fbe18a 32%,
  29.                 #fbbb45 37%,
  30.                 #f88330 43%,
  31.                 #f86737 52%,
  32.                 #f8443e 57%,
  33.                 #f4306d 70%,
  34.                 #d53592 85%,
  35.                 #4258f5 100%);
  36.         box-shadow: 2px 10px 35px #9e9c9c;
  37.     }

  38.     .logo::before {
  39.         content: '';
  40.         position: absolute;
  41.         top: 50%;
  42.         transform: translate(-50%, -50%);
  43.         left: 50%;
  44.         border-radius: 50%;
  45.         border: 20px solid #fff;
  46.         height: 70px;
  47.         width: 70px;
  48.     }

  49.     .logo::after {
  50.         content: '\26AA';
  51.         content: '\2B24 \00A0';
  52.         position: absolute;
  53.         font-size: 50px;
  54.         text-align: right;
  55.         color: #fff;
  56.         width: 200px;
  57.         height: 200px;
  58.         border-radius: 50px;
  59.         border: 20px solid #fff;
  60.         top: 50%;
  61.         left: 50%;
  62.         transform: translate(-50%, -50%);

  63.     }




Comments

Popular posts from this blog

HOW TO MAKE A WINDOW-10-LOGO USING HTML AND CSS

HOW TO MAKE A WINDOW-10-LOGO USING HTML AND CSS FOLLOW ON INSTAGRAM FOR MORE @CODING.BATCH CLICK TO DOWNLOAD

NEON TEXT EFFECT USING HTML AND CSS

NEON TEXT EFFECT USING HTML AND  CSS FOLLOW ON INSTAGRAM FOR MORE  @CODING.BATCH CLICK TO DOWNLOAD