第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

CSS3 由小變大的過(guò)渡動(dòng)畫

CSS3 由小變大的過(guò)渡動(dòng)畫

神不在的星期二 2018-08-27 11:09:19
一個(gè)DIV,由小變大,然后加透視怎么實(shí)現(xiàn)啊。單純的使用scale好像不怎么明顯啊。如果加上透視,效果更逼真啊。
查看完整描述

2 回答

?
呼啦一陣風(fēng)

TA貢獻(xiàn)1802條經(jīng)驗(yàn) 獲得超6個(gè)贊

    div{

        width:100px;

        height:100px;

        background:red;

        transition:1s ease;

    }

    div:hover{

        transform:scale(2);

        opacity:0;

    }


查看完整回答
反對(duì) 回復(fù) 2018-09-02
?
慕的地10843

TA貢獻(xiàn)1785條經(jīng)驗(yàn) 獲得超8個(gè)贊

用動(dòng)畫啊,`<!DOCTYPE html>
<html>

<head>

    <meta charset="UTF-8">

    <title>動(dòng)畫</title>

    <style>

        .div{

            width: 100px;

            height: 100px;

            position: absolute;

            background: #C94E00;

            opacity: 1;

            left: 50%;

            top: 50%;

            transform: translate(-50%, -50%);

            animation: change 5s;

            -moz-animation: change 5s;    

            -webkit-animation: change 5s;    

            -o-animation: change 5s;

        }

        @keyframes change{

            from {width: 100px;height: 100px;opacity: 1;}

            to {width: 500px;height: 500px;opacity: 0;}

        }

    </style>

</head>

<body>

    <div class="div"></div>

</body>

</html>`

查看完整回答
反對(duì) 回復(fù) 2018-09-02
  • 2 回答
  • 0 關(guān)注
  • 8352 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)