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

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

點(diǎn)擊沒有翻轉(zhuǎn)效果

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<title>海報(bào)畫廊</title>

<style>

*{

padding: 0;

margin: 0;

}

body{

background-color: #fff;

color: #555;

font-family: 'Avenir Next','Lantinghei SC';

font-size: 14px;

-webkit-font-smoothing:antialiased;

}

.wrap{

width: 100%;

height: 600px;

position: absolute; ? ?/* 設(shè)置垂直居中的方法 */

top: 50%;

margin-top: -300px;

background: #333;

overflow: hidden;


-webkit-perspective: 800px;

}

/* 海報(bào)樣式 */


.photo{

width: 260px;

height: 320px;

position: absolute;

z-index: 1;

box-shadow:0 0 1px rgba(0, 0, 0, .01);

}

.photo .side{

width: 100%;

height: 100%;

background-color: #eee;

position: absolute;

top: 0;

right: 0;

padding: 20px;

box-sizing:border-box;

}

.photo .side-front{}

.photo .side-front .image{

width: 100%;;

height: 250px;

line-height: 250px;

overflow: hidden;

}

.photo .side-front .image img{

width: 100%;

}

.photo .side-front .caption{

text-align: center;

font-size: 16px;

line-height: 50px;

}

.photo .side-back{

}

.photo .side-back .desc{

color: #666;

font-size: 14px;

line-height: 1.5em;

}

/*當(dāng)前選中海報(bào)的樣式*/

.photo_center{

left:50%;

top:50%;

margin:-160px 0 0 -130px;

z-index: 999;

}

/* 負(fù)責(zé)旋轉(zhuǎn)*/

.photo-wrap{

position: absolute;

width: 100%;

height: 100%;

-webkit-transform-style: preserve-3d;

-webkit-transition: all .6s;


}

.photo-wrap .side-front{

-webkit-transform:rotateY(0deg);

}

.photo-wrap .side-back{

-webkit-transform:rotateY(180deg);

}

.photo-wrap .side{

-webkit-backface-visibility: hidden;

}

.photo_front .photo-wrap{

-webkit-transform:rotateY(0deg);

}

.photo_back .photo-wrap{

-webkit-transform:rotateY(180deg);

}

</style>

</head>

<body onselectstart="return false;"> ? ? ? ? <!--防止頁面文字被選中-->

<div class="wrap">

<div id="one" class="photo photo_center photo_front" onclick="fn(this)">


<div class="photo-wrap">

<div class="side side-front">

<p class="image"><img src="image/dududu.jpg" /></p>

<p class="caption">你就是一個(gè)小歘歘</p>

</div>

<div class="side side-back">

<p class="desc">描述信息</p>

</div>

</div>

</div>


</div>


<script>

function fn(elem){


var ss = elem.className;

if(/photo_front/.test( ss ) ){

ss = ss.replace(/'photo_front'/,'photo_back') //正面變成背面

}else{

ss = ss.replace(/'photo_back'/,'photo_front')

}

return elem.className=ss;

}

</script>

</body>

</html>


正在回答

1 回答

替換的時(shí)候多加了? '? ?'? ?了

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

舉報(bào)

0/150
提交
取消

點(diǎn)擊沒有翻轉(zhuǎn)效果

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

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

幫助反饋 APP下載

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

公眾號

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