이 글에서는 순수 CSS를 사용하여 qqlogo 이미지 코드를 구현하는 방법을 소개합니다
<!doctype html> <html> <head> <title>CSS3logo</title> <style type="text/css"> html, body, div, img { margin: 0; padding: 0; } #box { position: absolute; left: 0; top: 0; } #head { position: absolute; left: 135px; top: 10px; background: #121214; width: 127px; height: 134px; border-radius: 50%/49%; z-index: 1; } #body { position: absolute; left: 128px; top: 68px; background: #121214; width: 141px; height: 138px; border-radius: 50%; } #belly { position: absolute; left: 144px; top: 79px; background: #fbfbfb; width: 110px; height: 123px; border-radius: 50%; } .foot { position: absolute; top: 186px; background: #febf18; width: 63px; height: 30px; border-radius: 50%; box-shadow: 0 3px #dc9111; z-index: -1; } #leftFoot { left: 132px; transform: rotate(-3deg); } #rightFoot { left: 202px; transform: rotate(3deg); } .eye { position: absolute; top: 44px; width: 24px; height: 35px; background: #fff; border-radius: 50%; z-index: 2; } #leftEye { left: 170px; } #rightEye { left: 203px; } #leftEyeBall { position: absolute; left: 180px; top: 53px; width: 6px; height: 14px; border-radius: 50%; background: #171718; border: solid 2px #040305; z-index: 2; } #leftEyeBall > div { position: absolute; left: 2px; top: 1px; width: 3px; height: 7px; border-radius: 50%; background: #fff; } #rightEyeBall { position: absolute; left: 206px; top: 53px; width: 13px; height: 13px; overflow: hidden; z-index: 2; } #rightEyeBall > div { width: 7px; height: 14px; border-radius: 50%; border: solid 3px #040305; } .hand { position: absolute; top: 130px; width: 70px; height: 23px; border-radius: 50%; background: #121214; } #leftHand { left: 91px; transform: rotate(-70deg); } #rightHand { left: 235px; transform: rotate(70deg); } #scarf { position: absolute; left: 123px; top: 89px; width: 148px; height: 55px; z-index: 2; border: solid 1px transparent; overflow: hidden; } #scarf1 { position: absolute; left: 152px; top: 117px; width: 27px; height: 50px; z-index: 2; background: #e32a0e; border-bottom-right-radius: 5px; border-bottom-left-radius: 6px; transform: skewY(8deg) rotate(2deg); } #scarf > #circle { position: absolute; left: -40px; top: -233px; width: 186px; height: 243px; border-radius: 50%; border: solid 22px #e32a0e; } #scarf > .clip { position: absolute; top: -30px; width: 20px; height: 55px; background: #fff; } #leftClip { left: -7px; transform: rotate(20deg); } #rightClip { left: 136px; transform: rotate(-20deg); } #mouth { position: absolute; left: 157px; top: 84px; width: 83px; height: 22px; border-radius: 50%; background: #fdbe18; z-index: 2; } #mouth > #m_child_0 { margin: 0 auto; width: 76px; height: 24px; border-radius: 50%; background: #fdbe18; } #mouth #m_child_1 { margin: 0 auto; width: 60px; height: 27px; border-radius: 50%; background: #fdbe18; } #mouth #m_child_2 { margin: 0 auto; width: 50px; height: 29px; border-radius: 50%; background: #fdbe18; } #mouth #m_child_3 { position: absolute; left: 9px; top: 2px; width: 66px; height: 20px; overflow: hidden; border-radius: 50%; } #mouth #m_child_4 { position: absolute; left: -1px; top: -9px; width: 68px; height: 26px; border-radius: 50%; box-shadow: 0px 1px 1px #8f3201; background: #fdbe18; } #mouth #m_child_5 { position: absolute; left: 21px; top: 2px; width: 42px; height: 22px; border-radius: 50%; background: #8f3201; } #mouth #m_child_6 { margin: 1px auto; width: 30px; height: 23px; border-radius: 50%; background: #8f3201; } </style> </head> <body> <div id="box"> <div id="head"></div> <div id="body"></div> <div id="belly"></div> <div id="leftFoot" class="foot"></div> <div id="rightFoot" class="foot"></div> <div id="leftEye" class="eye"></div> <div id="rightEye" class="eye"></div> <div id="leftEyeBall"><div></div></div> <div id="rightEyeBall"><div></div></div> <div id="leftHand" class="hand"></div> <div id="rightHand" class="hand"></div> <div id="scarf"> <div id="circle"></div> <div id="leftClip" class="clip"></div> <div id="rightClip" class="clip"></div> </div> <div id="scarf1"></div> <div id="mouth"> <div id="m_child_0"> <div id="m_child_1"> <div id="m_child_2"></div> </div> </div> <div id="m_child_5"> <div id="m_child_6"></div> </div> <div id="m_child_3"> <div id="m_child_4"></div> </div> </div> </div> </body> </html> QQlogo
위 내용은 순수 CSS를 사용하여 qqlogo 이미지 코드 구현의 상세 내용입니다. 자세한 내용은 PHP 중국어 웹사이트의 기타 관련 기사를 참조하세요!

Goofonts는 개발자 부인과 디자이너 남편이 서명 한 사이드 프로젝트로, 둘 다 타이포그래피의 큰 팬입니다. 우리는 Google에 태그를 지정했습니다

GraphQL API를 구축하는 방법을 배우는 것은 매우 어려울 수 있습니다. 그러나 10 분 안에 GraphQL API를 사용하는 방법을 배울 수 있습니다! 그리고 그것은 완벽하게 얻었습니다

여기 Yuanchuan의 합법적 인 CSS 속임수입니다. 이 CSS 속성 오프셋 경로가 있습니다. 옛날 옛적에, 그것은 모션 경로라고 불렸다가 이름이 바뀌 었습니다. 나


핫 AI 도구

Undresser.AI Undress
사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover
사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool
무료로 이미지를 벗다

Clothoff.io
AI 옷 제거제

AI Hentai Generator
AI Hentai를 무료로 생성하십시오.

인기 기사

뜨거운 도구

MinGW - Windows용 미니멀리스트 GNU
이 프로젝트는 osdn.net/projects/mingw로 마이그레이션되는 중입니다. 계속해서 그곳에서 우리를 팔로우할 수 있습니다. MinGW: GCC(GNU Compiler Collection)의 기본 Windows 포트로, 기본 Windows 애플리케이션을 구축하기 위한 무료 배포 가능 가져오기 라이브러리 및 헤더 파일로 C99 기능을 지원하는 MSVC 런타임에 대한 확장이 포함되어 있습니다. 모든 MinGW 소프트웨어는 64비트 Windows 플랫폼에서 실행될 수 있습니다.

WebStorm Mac 버전
유용한 JavaScript 개발 도구

SecList
SecLists는 최고의 보안 테스터의 동반자입니다. 보안 평가 시 자주 사용되는 다양한 유형의 목록을 한 곳에 모아 놓은 것입니다. SecLists는 보안 테스터에게 필요할 수 있는 모든 목록을 편리하게 제공하여 보안 테스트를 더욱 효율적이고 생산적으로 만드는 데 도움이 됩니다. 목록 유형에는 사용자 이름, 비밀번호, URL, 퍼징 페이로드, 민감한 데이터 패턴, 웹 셸 등이 포함됩니다. 테스터는 이 저장소를 새로운 테스트 시스템으로 간단히 가져올 수 있으며 필요한 모든 유형의 목록에 액세스할 수 있습니다.

Dreamweaver Mac版
시각적 웹 개발 도구

안전한 시험 브라우저
안전한 시험 브라우저는 온라인 시험을 안전하게 치르기 위한 보안 브라우저 환경입니다. 이 소프트웨어는 모든 컴퓨터를 안전한 워크스테이션으로 바꿔줍니다. 이는 모든 유틸리티에 대한 액세스를 제어하고 학생들이 승인되지 않은 리소스를 사용하는 것을 방지합니다.
