您知道chrome的原因是什麼嗎?有沒有補救辦法?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body style="perspective:500px">
<div style="
width:40px;
height:40px;
background: green;
padding: 30px;
transform: rotateY(50deg);
transform-style: preserve-3d">
<div style="
transform: translateZ(60px)">
content
</div>
</div>
<hr style="margin: 40px 0">
<div style="
opacity: .5;
width:40px;
height:40px;
background: green;
padding: 30px;
transform: rotateY(50deg);
transform-style: preserve-3d">
<div style="
transform: translateZ(60px)">
content
</div>
</div>
</body>
</html>
你使用-webkit-變換的Safari瀏覽器? – Noni
@noni nope,就是這個確切的代碼。 – Birowsky
嘗試轉換:rotateY(50deg); -ms-transform:rotateY(50deg); -webkit-transform:rotateY(50deg); – Noni