为了账号安全,请及时绑定邮箱和手机立即绑定

为什么我的是6在上面

<!DOCTYPE html>

<html>

<head>

<title></title>

<style type="text/css">

#my3dSpace{

-wibkit-perspective:800px;

-wibkit-perspective-origin:50% 50%;

overflow:hidden;

}

#pageGroup{

width:400px;

height: 400px;

margin:0 auto;

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

position:relative;

}

.page{

width:360px;

height:360px;

padding:20px;

background-color:black;

color:white;

font-size:360px;

line-height: 360px;

font-weight: bold;

text-align:center;

position:absolute;

}

#page1{

-wibkit-transform-origin:bottom;

-wibkit-transition:-wibkit-transform-origin 1s linear;


}

#page2,#page3,#page4,#page5,#page6{

-wibkit-transform-origin:bottom;

-wibkit-transition:-wibkit-transform-origin 1s linear;

-wibkit-transform:rotateX(90deg);

}

#operation{

text-align:center;

margin-top:10px;

}

</style>

     

</head>

<body>

<div id = "my3dSpace">

<div id = "pageGroup">

<div class = "page" id = "page1">1</div>

<div class = "page" id = "page1">2</div>

<div class = "page" id = "page1">3</div>

<div class = "page" id = "page1">4</div>

<div class = "page" id = "page1">5</div>

<div class = "page" id = "page1">6</div>

</div>

<div id = "operation">

        <a href = "javascript:next()">next</a>

     <a href="javascript:preview()">preview</a>

</div>

</body>

</html>


正在回答

1 回答

你复制page的时候id没改,而且前缀webkit写成了wibkit,6在前面是因为2-6没有做旋转操作(也就是webkit写错的问题)

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

为什么我的是6在上面

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信