HTML과 CSS를 사용하여 인스타그램 로고를 만들어 봅시다!
오랜만에 글을 올리게 되었으니 마음에 드셨으면 좋겠습니다!
오늘은 HTML과 CSS를 이용하여 인스타그램 로고를 만들어 보겠습니다.
시작합시다!
1. HTML
<div class="outer">  
    <div class="inner">  
    </div>  
</div> 
각각 외부 및 내부 클래스가 있는 또 다른 div를 포함하는 div를 만들었습니다!
2. CSS
 /* Basic */  
 * {  
   margin: 0;  
   padding: 0;  
   box-sizing: border-box;  
 }   
 body {  
   display: flex;  
   justify-content: center;  
   align-items: center;  
   width: 100vw;  
   height: 100vh;  
   overflow: hidden;  
 }
위에서 CSS를 사용하여 페이지를 보기 좋게 만들었습니다. 이제 로고를 디자인해 보겠습니다.
.outer {  
   width: 150px;  
   height: 150px;  
   background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);  
   border-radius: 35px;  
   display: grid;  
   place-items: center;  
 }  
 /* innerside in outer box */  
 .inner {  
   width: 120px;  
   height: 120px;  
   border: 10px solid #fff;  
   border-radius: 32px;  
   display: grid;  
   place-items: center;  
   position: relative;  
 } 
 /* center circle of logo */  
 .inner::before {  
   content: '';  
   width: 45px;  
   height: 45px;  
   border: 10px solid #fff;  
   border-radius: 50%;  
   background: transparent;  
   position: absolute;  
 }  
 /* top right circle of logo */  
 .inner::after {  
   content: '';  
   width: 10px;  
   height: 10px;  
   border: 2px solid #fff;  
   border-radius: 50%;  
   background: #fff;  
   position: absolute;  
   top: 8px;  
   right: 10px;  
 } 
이거 야. 인스타그램 로고를 만드셨습니다.
아래에서 코드펜을 볼 수 있습니다.
Reference
이 문제에 관하여(HTML과 CSS를 사용하여 인스타그램 로고를 만들어 봅시다!), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://dev.to/tilakjain123/lets-make-instagram-logo-using-html-css-2d6g텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
                                
                                
                                
                                
                                
                                우수한 개발자 콘텐츠 발견에 전념
                                (Collection and Share based on the CC Protocol.)