麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 網站 > WEB開發 > 正文

碉堡了! 純 CSS 繪制《辛普森一家》人物頭像

2024-04-27 14:33:55
字體:
來源:轉載
供稿:網友
碉堡了! 純 CSS 繪制《辛普森一家》人物頭像

  這篇文章給大家分享一組純 CSS 繪制的《辛普森一家》人物頭像。《辛普森一家》(The Simpsons)是馬特·格勒寧為美國福克斯廣播公司創作的一部動畫情景喜劇。該劇通過對霍默、瑪琦、巴特、莉薩和瑪吉一家五口生活的描繪,用搞笑的方式自我嘲諷了美國的文化、社會、電視以及人類境況的諸多方面。

  溫馨提示:為保證最佳的效果,請在 ChromeFirefox 和 Safari 等現代瀏覽器中瀏覽。

源碼下載 在線演示

Homer

辛普森一家中的父親,一人養著全家。全名是 Homer Jay Simpson。

Homer 人物頭像 HTML 代碼:

<div class="head">    <!-- Hair and top of head -->    <div class="hair1"></div>    <div class="hair2"></div>    <div class="body head-top"></div>    <div class="no-border body head-main"></div>    <!-- The 'M' above the ear -->    <div class="no-border m1"></div>    <div class="no-border m2"></div>    <div class="no-border m3"></div>    <div class="no-border m4"></div>    <!-- The neck parts -->    <div class="no-border neck1"></div>    <div class="body neck2"></div>    <!-- The ear -->    <div class="body ear">    <div class="no-border inner1"></div>    <div class="no-border inner2"></div>    <div class="no-border body cl

Homer 人物頭像CSS 代碼如下:

#homer *{    position: absolute;    box-sizing:content-box;    -moz-box-sizing:content-box;}#homer{    position: relative;    width: 94px;    height: 133px;    margin: 0 auto;}#homer .head *{    border: 1px solid #110b00;}#homer .head .no-border{    border: none;}#homer .head .body{    background: #fbd800;}#homer .head .hair1{    top: 14px;    left: 0px;        height:13px;    width:22px;    border-radius: 22px 22px 0 0;    -moz-border-radius: 22px 22px 0 0;    -webkit-border-radius: 22px 22px 0 0;    background: transparent;    -webkit-transform: rotate(-44deg);    -ms-transform: rotate(-44deg);    transform: rotate(-44deg);    border-bottom: none;}#homer .head .hair2{    top: 8px;    left: 9px;        height:16px;    width:26px;    border-radius: 32px 32px 0 0;    -moz-border-radius: 32px 32px 0 0;    -webkit-border-radius: 32px 32px 0 0;    background: transparent;    -webkit-transform: rotate(-27deg);    -ms-transform: rotate(-27deg);    transform: rotate(-27deg);    border-bottom: none;}#homer .head .head-top{    top: 15px;    left: 2px;    width: 65px;    height: 62px;    border-bottom: none;    -webkit-transform: rotate(-24deg);    -ms-transform: rotate(-24deg);    transform: rotate(-24deg);    -moz-border-radius: 43% 44% 0 0;    -webkit-border-radius: 43% 44% 0 0;    border-radius: 43% 44% 0 0;    -webkit-box-shadow: inset 8px 12px 0px -12px rgba(247,254,140,1), inset 13px 3px 0px -11px rgba(247,254,140,1), inset -2px 0px 0px 0px rgba(229,158,4,1);    -moz-box-shadow: inset 8px 12px 0px -12px rgba(247,254,140,1), inset 13px 3px 0px -11px rgba(247,254,140,1), inset -2px 0px 0px 0px rgba(229,158,4,1);    box-shadow: inset 8px 12px 0px -12px rgba(247,254,140,1), inset 13px 3px 0px -11px rgba(247,254,140,1), inset -2px 0px 0px 0px rgba(229,158,4,1);}#homer .head .head-main{    top: 40px;    left: 17px;    width: 48px;    height: 62px;    -webkit-transform: rotate(-24deg);    -ms-transform: rotate(-24deg);    transform: rotate(-24deg);}#homer .head .m1, #homer .head .m2, #homer .head .m3, #homer .head .m4{    width: 1px;    height: 14px;    background: #110b00;}#homer .head .m1{    top: 77px;    left: 9px;    -webkit-transform: rotate(-13deg);    -ms-transform: rotate(-13deg);    transform: rotate(-13deg);}#homer .head .m2{    top: 76px;    left: 12px;    height: 12px;    -webkit-transform: rotate(-45deg);    -ms-transform: rotate(-45deg);    transform: rotate(-45deg);}#homer .head .m3{    top: 71px;    left: 16px;    height: 15px;    -webkit-transform: rotate(1deg);    -ms-transform: rotate(1deg);    transform: rotate(1deg);}#homer .head .m4{    top: 70px;    left: 21px;    -webkit-transform: rotate(-39deg);    -ms-transform: rotate(-39deg);    transform: rotate(-39deg);}#homer .head .ear{    top: 90px;    left: 14px;    width: 11px;    height: 13px;    -moz-border-radius: 50%;    -webkit-border-radius: 50%;    border-radius: 50%;}#homer .head .ear .inner1{    top: 3px;    left: 2px;    width: 7px;    height: 5px;    -moz-border-radius: 50%;    -webkit-border-radius: 50%;    border-radius: 50%;    border-top: 1px solid #110b00;    -webkit-transform: rotate(-21deg);    -ms-transform: rotate(-21deg);    transform: rotate(-21deg);}#homer .head .ear .inner2{    top: 3px;    left: 4px;    width: 7px;    height: 5px;    -moz-border-radius: 50%;    -webkit-border-radius: 50%;    border-radius: 50%;    border-top: 1px solid #110b00;    -webkit-transform: rotate(-109deg);    -ms-transform: rotate(-109deg);    transform: rotate(-109deg);}#homer .head .ear .clip{    top: 1px;    left: 8px;    width: 5px;    height: 10px;}#homer .head .right-eye{    top: 48px;    left: 48px;    width: 31px;    height: 31px;    -moz-border-radius: 50%;    -webkit-border-radius: 50%;    border-radius: 50%;    background: #ffffff;    box-shadow: -2px -1px 0px 0px rgba(247,254,140,1);    overflow: hidden;}#homer .head .right-eye .right-eye-pupil{    top: 11px;    left: 20px;    width: 4px;    height: 4px;    -moz-border-radius: 50%;    -webkit-border-radius: 50%;    border-radius: 50%;    background: #110b00;}#homer .head .left-eye{    top: 51px;    left: 23px;    width: 31px;    height: 31px;    -moz-border-radius: 50%;    -webkit-border-radius: 50%;    border-radius: 50%;    background: #ffffff;    box-shadow: -1px -1px 0px 0px rgba(247,254,140,1);    overflow: hidden;}#homer .head .left-eye .left-eye-pupil{    top: 13px;    left: 11px;    width: 4px;    height: 4px;    -moz-border-radius: 50%;    -webkit-border-radius: 50%;    border-radius: 50%;    background: #110b00;}#homer .head .left-eye .eyelid-top{    top: -21px;    left: 0px;    width: 30px;    height: 20px;    border-bottom: 1px solid #110b00;    border-radius: 50% 50% 0 0;        -webkit-animation-name: homerlefteyelidtop;    -webkit-animation-duration: 10s;    -webkit-animation-timing-function: linear;    -webkit-animation-delay: 1s;    -webkit-animation-iteration-count: infinite;    -webkit-animation-play-state: running;    animation-name: homerlefteyelidtop;    animation-duration: 10s;    animation-timing-function: linear;    animation-delay: 1s;    animation-iteration-count: infinite;    animation-play-state: running;}#homer .head .left-eye .eyelid-bottom{    bottom: -11px;    left: 0px;    width: 30px;    height: 10px;    border-top: 1px solid #110b00;    border-radius: 0 0 50% 50%;        -webkit-animation-name: homerlefteyelidbottom;    -webkit-animation-duration: 10s;    -webkit-animation-timing-function: linear;    -
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 日日狠狠久久偷偷四色综合免费 | 久久精品亚洲欧美日韩精品中文字幕 | 青青草最新网址 | 91精品国产乱码久 | 19禁国产精品福利视频 | 免费毛片随便看 | 热99视频 | 免费国产精品视频 | 亚洲伊人色欲综合网 | 91中文在线观看 | 天天干天天透 | 成人三级免费电影 | 久久久久久久99 | 久久国产精品二区 | 黄色片网站在线播放 | 精品国产91久久久久久久妲己 | 久久久久久久久日本理论电影 | 免费日本一区二区 | 一区二区三区在线观看国产 | 美国av免费看 | 99精品在线观看 | 欧美性受xxxxxx黑人xyx性爽 | 欧美大胆xxxx肉体摄影 | 亚洲va久久久噜噜噜久久男同 | 久久99精品久久久久久园产越南 | 日日操夜 | 欧美一级免费在线观看 | 日本中文字幕网址 | 欧美日韩在线播放一区 | 又黄又爽免费无遮挡在线观看 | 超碰97最新 | 精品国产一区二区三区久久久蜜 | 高清在线国产 | av91肉丝一区二区电影 | 国产久草视频在线 | 免费一级在线视频 | 毛片在哪看 | 91精品国产乱码久久久久 | 中文字幕一区在线观看视频 | 久久久久久久久淑女av国产精品 | 久久久麻豆|