最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

animation問(wèn)題

很奇怪,我做的P標(biāo)簽進(jìn)來(lái)的時(shí)候是一個(gè)一個(gè)進(jìn)來(lái)的,但是隱藏的時(shí)候都是同時(shí)消失的,是不是什么屬性沒(méi)加上?

正在回答

2 回答

用sass寫(xiě)的

@charset "UTF-8";
@import "reset.css";

*{
??? margin: 0;
??? padding: 0;
}

.animation{

??? background: #ffffff;
??? font-size: 62.5%;


??? figure{
??????? float: left;
??????? width: 33.33%;
??????? overflow: hidden;
??????? position: relative;
??????? transition: all 0.35s;

??????? img{
??????????? display: block;
??????????? width: 100%;
??????????? opacity: 0.8;
??????????? transition: all 0.35s;
??????????? transform: translate(0, 0);
??????? }
??? }

??? figcaption{
??????? position: absolute;
??????? top: 20px;
??????? left: 20px;

??????? p{
??????????? background: #f1f1f1;
??????????? color: #FF7256;
??????????? text-align: center;
??????????? font-size: 16px;
??????????? line-height: 30px;
??????????? margin: 10px 0;
??????????? transition: all 0.35s;
??????????? transform: translate(-180px, 0);
??????? }


??? }

??? .test:hover{
??????? img{
??????????? opacity: 0.2;
??????????? transform: translate(-50px, 0);
??????? }

??????? figcaption{
??????????? p{
?????????????? transform: translate(0, 0);
??????????? }
??????????? p:nth-of-type(1){transition-delay: 0.05s;}
??????????? p:nth-of-type(2){transition-delay: 0.1s;}
??????????? p:nth-of-type(3){transition-delay: 0.15s;}
??????? }

??? }

}

@media screen and (max-width: 600px) {
??? .animation figure{
??????? width: 100%;
??? }
}

@media screen and (min-width:601px) and (max-width:1000px) {
??? .animation figure{
??????? width: 50%;
??? }
}

@media screen and (min-width: 1001px) {
??? .animation figure{
??????? width: 33.33%;
??? }
}


0 回復(fù) 有任何疑惑可以回復(fù)我~

你應(yīng)該附上你的源代碼

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
CSS3圖片動(dòng)態(tài)提示效果
  • 參與學(xué)習(xí)       53881    人
  • 解答問(wèn)題       149    個(gè)

實(shí)用的CSS3圖片動(dòng)態(tài)提示效果,熟練掌握CSS動(dòng)畫(huà)的制作技法

進(jìn)入課程

animation問(wèn)題

我要回答 關(guān)注問(wèn)題
微信客服

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

幫助反饋 APP下載

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

公眾號(hào)

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