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

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

我怎么沒有三D效果啊 反轉(zhuǎn)比如哦100度沒有一邊長一邊短的立體效果

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
?? ?<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
?? ?<title>海報(bào)畫廊</title>
?? ?<style type="text/css">
?? ?*{padding:0;margin:0;}
?? ?body{background-color:#fff;
?? ??? ?color:#555;font-family:
?? ??? ? 'Avenir Next','Lantinghei SC';
?? ??? ? font-size: 14px;
?? ??? ? -webkit-font-smoothing:antialiased;
?? ?}
?? ?
?? ?
?? ?.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: #eee;
?? ??? ?position: absolute;
?? ??? ?top:0;
?? ??? ?right:0;
?? ??? ?padding: 20px;
?? ??? ?box-sizing: border-box;
?? ?}
?? ?.photo .side-font{}
?? ?.photo .side-font .image{
?? ??? ?width: 100%;
?? ??? ?height: 250px;
?? ??? ?line-height: 250px;
?? ??? ?overflow:hidden;
?? ?}
?? ?.photo .side-font .image img{
?? ??? ?widows: 100%;
?? ?}
?? ?.photo .side-font .caption{
?? ??? ?text-align: center;
?? ??? ?font-size: 16px;
?? ??? ?line-height: 50px;
?? ?}?? ?
?? ?.photo .side-back{
?? ??? ?color:#666;
?? ??? ?font-size:14px;
?? ??? ?line-height: 1.5em;
?? ?}
?? ?.photo_center{
?? ??? ?left:50%;
?? ??? ?top:50%;
?? ??? ?margin:-160px 0 0 -130px;
?? ??? ?z-index: 99;
?? ?}
?? ?.wrap{
?? ??? ?width:100%;
?? ??? ?height: 600px;
?? ??? ?position: absolute;
?? ??? ?top: 50%;
?? ??? ?margin-top: -300px;
?? ??? ?background:#333;
?? ??? ?overflow: hidden;
?? ??? ?-webkit-perspective:800px;
?? ?}
?? ?.photo-wrap{
?? ??? ?position: absolute;
?? ??? ?width:100%;
?? ??? ?height: 100%;
?? ??? ?-webkit-transform-style:preserve-3d;
?? ?}
?? ?.photo-wrap .side-font{
?? ??? ?-webkit-transform:rotateY(0deg);
?? ?}
?? ?.photo-wrap .side-back{
?? ??? ?-webkit-transform:rotateY(180deg);
?? ?}
?? ?.photo-wrap .side{
?? ??? ?-webkit-backface-visibility:hidden;
?? ?}
?? ?.photo_font .photo-wrap{
?? ??? ?-webkit-transform:rotateY(0deg);

?? ?}
?? ?.photo_back .photo-wrap{
?? ??? ?-webkit-transform:rotateY(180deg);

?? ?}
</style>
</head>
<body oneselectstart="return false;">
?? ?<div>
?? ??? ?<div class="photo photo_center photo_back photo_font">
?? ??? ??? ?<div >
?? ??? ??? ??? ?<div class="side side-font">
?? ??? ??? ??? ??? ?<p><img src="1 超能陸戰(zhàn)隊(duì).jpg" style="width:240px;"/></p>
?? ??? ??? ??? ??? ?<p>超能陸戰(zhàn)隊(duì)</p>
?? ??? ??? ??? ?</div>
?? ??? ??? ??? ?<div class="side side-back">
?? ??? ??? ??? ??? ?<p>描述信息</p>
?? ??? ??? ??? ?</div>
?? ??? ??? ?</div>
?? ??? ?</div>
?? ?</div>
</body>
</html>

正在回答

3 回答

-webkit-perspective: 800px;? 值越小,你要的效果立體越強(qiáng)? 越大,根據(jù)自己的圖片大小感覺會(huì)越真實(shí),具體情況自己看這寫

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

webkit-transform:perspective(800px)這個(gè)寫了啊

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

首先要用persperctive透視, ?webkit-transform:perspective(800px);才能像你說的

一邊長一邊短的立體效果

要用JS控制或hover 偽類交互后,利用transition過渡才會(huì)看到慢慢變過來的效果

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

舉報(bào)

0/150
提交
取消
CSS3+JS 實(shí)現(xiàn)超炫的散列畫廊特效
  • 參與學(xué)習(xí)       46089    人
  • 解答問題       221    個(gè)

實(shí)現(xiàn)更自由的切換照片的畫廊效果,打造超酷的切換動(dòng)畫

進(jìn)入課程

我怎么沒有三D效果啊 反轉(zhuǎn)比如哦100度沒有一邊長一邊短的立體效果

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

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

幫助反饋 APP下載

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

公眾號(hào)

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