国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

純css實(shí)現(xiàn)彈跳,仿真重力碰撞效果 循環(huán)動(dòng)畫/ease-in

2023-07-08 21:48 作者:不務(wù)正業(yè)的寒舞  | 我要投稿

你還不如出手敲一遍的視頻

直接敲你的代碼連定位都是錯(cuò)的

相對(duì)定位里寫top,還有90%里把transleteY不寫會(huì)覆蓋掉。你這利用反向的缺點(diǎn)就是還沒碰到地面時(shí)球就開始變形了。我有點(diǎn)懷疑你沒手敲過,而是從某處copy出來的

```html

<div class="container">

? ? ? <div id="bounce">

? ? ? ? <div class="ball"></div>

? ? ? ? <div class="ground"></div>

? ? ? </div>

</div>

```


```less

*{margin:0;}

body{background-color: #000;}

.container{

? display: flow-root;

? #bounce {

? ? width: 300px;

? ? height: 300px;

? ? position: relative;

? ? margin:200px auto;

? ? .ball {

? ? ? width: 80px;

? ? ? height: 80px;

? ? ? border-radius: 50%;

? ? ? background-color: #fff;

? ? ? position: absolute;

? ? ? top: 0;

? ? ? left: 160px;

? ? ? animation: 1.5s falling ?infinite;

? ? ? @keyframes falling {

? ? ? ? 0%,100%{

? ? ? ? ? transform: translateY(0px) scale(1,1);

? ? ? ? }

? ? ? ? 50%{

? ? ? ? ? transform: translateY(216px) scale(1,1);

? ? ? ? }

? ? ? ? 51%{

? ? ? ? ? transform: translateY(214px) scale(0.8,1);

? ? ? ? }

? ? ? ? 52%{

? ? ? ? ? transform: translateY(202px) scale(1,0.8);

? ? ? ? }

? ? ? }

? ? }

? ? .ground {

? ? ? width: 400px;

? ? ? height: 20px;

? ? ? background-color: #fff;

? ? ? position: absolute;

? ? ? bottom: 0;

? ? }

? }

?

}

```


純css實(shí)現(xiàn)彈跳,仿真重力碰撞效果 循環(huán)動(dòng)畫/ease-in的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
建德市| 梓潼县| 竹山县| 镇远县| 神农架林区| 静海县| 普兰县| 灵宝市| 文安县| 巧家县| 沈丘县| 曲阳县| 陇西县| 惠来县| 临猗县| 海口市| 广平县| 新邵县| 崇文区| 定陶县| 阜新| 蓬莱市| 阿尔山市| 年辖:市辖区| 广安市| 锡林郭勒盟| 田东县| 彰化县| 芦溪县| 弥勒县| 南开区| 黔江区| 且末县| 奉新县| 韶关市| 弥渡县| 乌兰县| 巴里| 曲麻莱县| 镇安县| 澜沧|