<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>滴滴</title>
<style>
body{
margin:0;
color:#444;
background:#00c380;
font:300 18px/18px Roboto, sans-serif;
}
*,:after,:before{box-sizing:border-box}
.pull-left{float:left}
.pull-right{float:right}
.clearfix:after,.clearfix:before{content:'';display:table}
.clearfix:after{clear:both;display:block}
body{text-align:center;padding:80px;padding-top: 0;overflow:hidden}
.car .mirror-wrap:before,
.car .mirror-wrap:after,
.car .mirror-inner:before,
.car .mirror-inner:after,
.car .middle .top:before,
.car .middle .top:after,
.car .lights:before,
.car .lights:after,
.car .bumper .top:before,
.car .bumper .top:after,
.car .bumper .middle:before,
.car .tyres .tyre:before,
.car .tyres .tyre:after
{
content:'';
position:absolute;
}
.car{
z-index:1;
margin:0 auto;
position:relative;
display:inline-block;
}
.car .body{
z-index:1;
position:relative;
-webkit-animation:suspension 4s linear infinite;
animation:suspension 4s linear infinite;
}
.car .mirror-wrap{
width:88px;
height:30px;
margin:auto;
position:relative;
background-color:#fff;
border-top-left-radius:45px 10px;
border-top-right-radius:45px 10px;
}
.car .mirror-wrap:before,
.car .mirror-wrap:after{
top:8px;
border:5px solid #1a1c20;
border-top:15px solid transparent;
}
.car .mirror-wrap:before{
left:-5px;
border-left:0 solid transparent;
}
.car .mirror-wrap:after{
right:-5px;
border-right:0 solid transparent;
}
.car .mirror-inner{
top:2px;
width:inherit;
height:inherit;
margin:inherit;
position:inherit;
background-color:#1a1c20;
border-top-left-radius:50px 8px;
border-top-right-radius:50px 8px;
}
.car .mirror-inner:before,
.car .mirror-inner:after{
bottom:0;
width:10px;
height:8px;
background-color:#252525;
}
.car .mirror-inner:before{
left:-12px;
border-radius:2px 0 0 5px;
}
.car .mirror-inner:after{
right:-12px;
border-radius:0 2px 5px 0;
}
.car .mirror{
width:100%;
z-index:10;
height:25px;;
overflow:hidden;
position:relative;
border-top-left-radius:45px 10px;
border-top-right-radius:45px 10px;
}
.car .mirror .shine{
left:50%;
width:5px;
z-index:-1;
height:40px;
position:absolute;
margin-left:-2.5px;
background-color:#3d3e3e;
-webkit-animation:shine 4s linear infinite;
animation:shine 4s linear infinite;
}
.car .middle{
z-index:1;
margin-top:-2px;
}
.car .middle .top{
width:98px;
height:14px;
margin:auto;
position:relative;
background-color:#f7f7f7;
}
.car .middle .top:before,
.car .middle .top:after{
top:0;
border:5px solid #f7f7f7;
border-top:9px solid transparent;
}
.car .middle .top:before{
left:-7px;
border-left:2px solid transparent;
}
.car .middle .top:after{
right:-7px;
border-right:2px solid transparent;
}
.car .middle .top .line{
top:2px;
height:1px;
width:44px;
margin:auto;
position:relative;
background-color:#bebebe;
}
.car .middle .bottom{
margin:auto;
width:115px;
height:20px;
margin-top:-2px;
background-color:#dfdfdf;
border-top-left-radius:4px 5px;
border-top-right-radius:4px 5px;
}
.car .lights{
top:5px;
width:111px;
height:12px;
margin:auto;
position:relative;
border-radius:2px;
background-color:#6a6a6a;
}
.car .lights:before,
.car .lights:after{
top:50%;
width:16px;
height:16px;
margin-top:-8px;
border-radius:50%;
background-color:#fff;
border:1px solid #777;
}
.car .lights:before{left:3px}
.car .lights:after{right:3px}
.car .lights .line{
top:50%;
left:50%;
width:50%;
height:1px;
background:#fff;
position:absolute;
-webkit-transform:translateX(-50%);
transform:translateX(-50%);
}
.car .bumper .top{
width:110px;
height:10px;
margin:auto;
position:relative;
background-color:#202428;
border-radius:0 0 6px 6px;
border-top:1px solid #474949;
border-bottom:1px solid #474949;
}
.car .bumper .top:before,
.car .bumper .top:after{
top:50%;
width:10px;
height:4px;
margin-top:-2px;
border-radius:1px;
background-color:#FB8C00;
}
.car .bumper .top:before{left:5px}
.car .bumper .top:after{right:5px}
.car .bumper .middle{
height:8px;
width:102px;
margin:auto;
position:relative;
background-color:#cfcfcf;
border-radius:0 0 6px 6px;
}
.car .bumper .middle:before{
top:50%;
left:50%;
color:#fff;
height:12px;
font-size:8px;
padding:1px 4px;
font-weight:500;
margin-top:-6px;
line-height:10px;
text-align:center;
white-space:nowrap;
content:attr(data-numb);
background-color:#E9573F;
-webkit-transform:translateX(-50%);
transform:translateX(-50%);
}
.car .bumper .bottom{
height:6px;
width:85px;
margin:auto;
position:relative;
background-color:#202428;
border-radius:0 0 6px 6px;
box-shadow:0 1px 11px rgba(0,0,0,.75);
}
.car .tyres{
margin:auto;
width:110px;
position:relative;
}
.car .tyres .tyre{
width:100%;
height:40px;
bottom:-6.5px;
position:absolute;
}
.car .tyres .tyre:before{
left:-5px;
box-shadow:-2px 2px 0 #b7b7b8 inset;
}
.car .tyres .tyre:after{
right:-5px;
box-shadow:2px 2px 0 #b7b7b8 inset;
}
.car .tyres .tyre:before,
.car .tyres .tyre:after{
width:18px;
height:40px;
border-radius:6px;
background-color:#1a1c20;
background:-webkit-linear-gradient(left,#333 50%,#555 50%);
background:linear-gradient(to right,#333 50%,#555 50%);
background-size:2px;
}
.car .tyres .tyre.back:before,
.car .tyres .tyre.back:after{bottom:3px}
.car .tyres .tyre.back:before{left:12px}
.car .tyres .tyre.back:after{right:12px}
.road-wrap{
-webkit-perspective:160px;
perspective:160px;
}
.road-wrap .road{
margin-top:-360px;
-webkit-transform:rotateX(80deg);
transform:rotateX(80deg);
}
.road-wrap .lane-wrap{
-webkit-animation:steer 4s linear infinite;
animation:steer 4s linear infinite;
}
.road-wrap .lane{
width:20px;
margin:auto;
}
.road-wrap .lane>div{
width:100%;
margin:auto;
margin-top:30px;
margin-bottom:30px;
background-color:#fff;
-webkit-animation:lane 4s linear infinite;
animation:lane 4s linear infinite;
}
.road-wrap .lane>div:nth-child(1){height:15px}
.road-wrap .lane>div:nth-child(2){height:20px}
.road-wrap .lane>div:nth-child(3){height:30px}
.road-wrap .lane>div:nth-child(4){height:50px}
.road-wrap .lane>div:nth-child(5){height:40px}
.road-wrap .lane>div:nth-child(6){height:50px}
.road-wrap .lane>div:nth-child(7){height:40px}
.road-wrap .lane>div:nth-child(8){height:50px}
.road-wrap .lane>div:nth-child(9){height:30px}
.road-wrap .lane>div:nth-child(10){height:20px}
.road-wrap .lane>div:nth-child(11){height:15px}
@-webkit-keyframes shine{
0%,80%,100%{
-webkit-transform:translateX(-55px) rotate(24deg);
transform:translateX(-55px) rotate(24deg);
}
5%,15%,25%,35%,45%,55%,65%,75%,85%,95%{background-color:#2d2d2d}
0%,10%,20%,30%,40%,50%,60%,70%,80%,90%,100%{background-color:#4d4d4d}
33%,44%{
-webkit-transform:translateX(30px) rotate(-14deg);
transform:translateX(30px) rotate(-14deg);
}
66%{
-webkit-transform:translateX(0px) rotate(-10deg);
transform:translateX(0px) rotate(-10deg);
}
}
@keyframes shine{
0%,80%,100%{
-webkit-transform:translateX(-55px) rotate(24deg);
transform:translateX(-55px) rotate(24deg);
}
5%,15%,25%,35%,45%,55%,65%,75%,85%,95%{background-color:#2d2d2d}
0%,10%,20%,30%,40%,50%,60%,70%,80%,90%,100%{background-color:#4d4d4d}
33%,44%{
-webkit-transform:translateX(30px) rotate(-14deg);
transform:translateX(30px) rotate(-14deg);
}
66%{
-webkit-transform:translateX(0px) rotate(-10deg);
transform:translateX(0px) rotate(-10deg);
}
}
@-webkit-keyframes lane{
0%{
-webkit-transform:translateY(320px);
transform:translateY(320px);
}
100%{
-webkit-transform:translateY(-160px);
transform:translateY(-160px);
}
}
@keyframes lane{
0%{
-webkit-transform:translateY(320px);
transform:translateY(320px);
}
100%{
-webkit-transform:translateY(-160px);
transform:translateY(-160px);
}
}
@-webkit-keyframes steer{
0%,100%{
-webkit-transform:translateX(-15px) rotate(5deg);
transform:translateX(-15px) rotate(5deg);
}
50%{
-webkit-transform:translateX(15px) rotate(-5deg);
transform:translateX(15px) rotate(-5deg)
}
}
@keyframes steer{
0%,100%{
-webkit-transform:translateX(-15px) rotate(5deg);
transform:translateX(-15px) rotate(5deg);
}
50%{
-webkit-transform:translateX(15px) rotate(-5deg);
transform:translateX(15px) rotate(-5deg)
}
}
@-webkit-keyframes suspension{
0%,75%,100%{
-webkit-transform:rotate(3deg);
transform:rotate(3deg)
}
10%,30%,50%,70%,90%{top:0}
20%,40%,60%,80%,100%{top:-1px}
25%,50%{
-webkit-transform:rotate(-3deg);
transform:rotate(-3deg)
}
20%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}
90%{-webkit-transform:rotate(-1deg);transform:rotate(-1deg)}
}
@keyframes suspension{
0%,75%,100%{
-webkit-transform:rotate(3deg);
transform:rotate(3deg)
}
10%,30%,50%,70%,90%{top:0}
20%,40%,60%,80%,100%{top:-1px}
25%,50%{
-webkit-transform:rotate(-3deg);
transform:rotate(-3deg)
}
20%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}
90%{-webkit-transform:rotate(-1deg);transform:rotate(-1deg)}
}
</style>
</head>
<body>
<br /><br /><br /><br /><br /><br />
<div class="car">
<div class="body">
<div class="mirror-wrap">
<div class="mirror-inner">
<div class="mirror">
<div class="shine"></div>
</div>
</div>
</div>
<div class="middle">
<div class="top">
<div class="line"></div>
</div>
<div class="bottom">
<div class="lights">
<div class="line"></div>
</div>
</div>
</div>
<div class="bumper">
<div class="top"></div>
<div class="middle" data-numb="sonkwo"></div>
<div class="bottom"></div>
</div>
</div>
<div class="tyres">
<div class="tyre back"></div>
<div class="tyre front"></div>
</div>
</div>
<div class="road-wrap">
<div class="road">
<div class="lane-wrap">
<div class="lane">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
</div>
</div>
</body>
</html>
來(lái)不及解釋了朵锣、快上車(chē)
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
- 文/潘曉璐 我一進(jìn)店門(mén)粪牲,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái)古瓤,“玉大人,你說(shuō)我怎么就攤上這事腺阳÷渚” “怎么了?”我有些...
- 文/不壞的土叔 我叫張陵亭引,是天一觀的道長(zhǎng)绎速。 經(jīng)常有香客問(wèn)我,道長(zhǎng)焙蚓,這世上最難降的妖魔是什么纹冤? 我笑而不...
- 正文 為了忘掉前任,我火速辦了婚禮购公,結(jié)果婚禮上萌京,老公的妹妹穿的比我還像新娘。我一直安慰自己宏浩,他們只是感情好知残,可當(dāng)我...
- 文/花漫 我一把揭開(kāi)白布。 她就那樣靜靜地躺著绘闷,像睡著了一般橡庞。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上印蔗,一...
- 那天扒最,我揣著相機(jī)與錄音,去河邊找鬼华嘹。 笑死吧趣,一個(gè)胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播强挫,決...
- 文/蒼蘭香墨 我猛地睜開(kāi)眼岔霸,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼!你這毒婦竟也來(lái)了俯渤?” 一聲冷哼從身側(cè)響起呆细,我...
- 序言:老撾萬(wàn)榮一對(duì)情侶失蹤,失蹤者是張志新(化名)和其女友劉穎八匠,沒(méi)想到半個(gè)月后絮爷,有當(dāng)?shù)厝嗽跇?shù)林里發(fā)現(xiàn)了一具尸體,經(jīng)...
- 正文 獨(dú)居荒郊野嶺守林人離奇死亡梨树,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
- 正文 我和宋清朗相戀三年坑夯,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片抡四。...
- 正文 年R本政府宣布厌处,位于F島的核電站鳖谈,受9級(jí)特大地震影響岁疼,放射性物質(zhì)發(fā)生泄漏阔涉。R本人自食惡果不足惜,卻給世界環(huán)境...
- 文/蒙蒙 一捷绒、第九天 我趴在偏房一處隱蔽的房頂上張望瑰排。 院中可真熱鬧,春花似錦暖侨、人聲如沸椭住。這莊子的主人今日做“春日...
- 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)京郑。三九已至,卻和暖如春葫掉,著一層夾襖步出監(jiān)牢的瞬間些举,已是汗流浹背。 一陣腳步聲響...
- 正文 我出身青樓,卻偏偏與公主長(zhǎng)得像叼丑,于是被迫代替她去往敵國(guó)和親关翎。 傳聞我的和親對(duì)象是個(gè)殘疾皇子,可洞房花燭夜當(dāng)晚...
推薦閱讀更多精彩內(nèi)容
- 1 冬季鸠信,上邪城內(nèi)纵寝。 破滅紀(jì)已經(jīng)開(kāi)始十余年,人類(lèi)已經(jīng)有了初步對(duì)抗黑暗種的能力星立。雙方僵在了一個(gè)對(duì)峙的格局店雅。 然而人類(lèi)...
- 在開(kāi)發(fā)中窍奋,我們常常遇到這種情況 我們往往需要的是下面這種效果 但是如果把這些實(shí)現(xiàn)的代碼寫(xiě)在Activity中會(huì)比較...
- 印染加工后整理內(nèi)容可以概括為兩個(gè)方面,一方面著重于提高和發(fā)揮各類(lèi)纖維的固有性能酱畅,如織物的吸濕性琳袄、柔軟性、光澤性纺酸、尺...
- 其實(shí)今天的感觸挺大的窖逗,因?yàn)榻裉斓脑捨矣X(jué)得,嗯餐蔬,今天看這部電影我感覺(jué)挺大的碎紊,其實(shí)其他并沒(méi)有什么就是什么,因?yàn)檫@部電影...