perpective
및 transform: translateZ
CSS 속성을 사용하여 깊이를 시뮬레이트하는 jQuery 이미지 스크롤러가 있습니다. Chrome에서는 올바르게 렌더링되지만 IE10이나 Firefox에서는 올바르게 렌더링되지 않습니다. 제가 왜 모르겠어요 ( http://jsfiddle.net/moosefetcher/rxCMr/28/ : 관련 코드의 jsFiddle를 http://www.girlguiding.org.uk/test/biggig/index.html 하고 여기에 있습니다 :Internet Explorer 10 또는 Firefox에서 CSS perspective가 작동하지 않습니다.
다음은 전체 프로젝트 (이미지 스크롤을 볼 수있는 "누가오고있다"메뉴의 링크를 클릭)입니다 하지만 ...) 그래서 여기에 CSS이야, 내가 jsFiddle에 연결하는 코드를 포함 할 필요가 내가 포함 및 특성에 -ms-
접두사를 제외하고 모두이 시도
.scroller {
position: relative;
perspective: 150;
-webkit-perspective: 150;
-ms-perspective: 150;
-moz-perspective: 150;
}
.artistBox {
width: 228px;
height: 268px;
background-color: #000000;
border-radius: 16px;
position: absolute;
overflow: hidden;
z-index: 4;
}
.artistBox p {
position: absolute;
font-family:"Arial", sans-serif;
color: white;
font-size: 22px;
}
.artistBoxFront {
z-index: 5;
}
.artistBoxNew {
z-index: 3;
opacity: 0;
}
.scrollerButton {
position: absolute;
top: 128px;
width: 32px;
height: 32px;
border: 2px solid white;
border-radius: 32px;
background-color: #F49D19;
box-shadow: 1px 1px 3px #555588;
z-index: 6;
}
.scrollerButtonOver {
background-color: #ffaa26;
box-shadow: 2px 2px 3px #555588;
}
참고 날 유래 말하고있다. (현재 jsFiddle에는 -webkit-
및 -moz-
뿐만 아니라 두 가지 모두 포함됩니다. IE10에서이 기능이 작동하지 않는 이유는 누구나 알고 계십니까? 건배.
'bump'로 간주할지 모르겠지만 IE10이 개발자 도구의 'quirks'모드 옵션에서 위의 3D를 올바르게 렌더링하는 것으로 나타났습니다. 그 이유가 누구인지 아시겠습니까? 그게 도움이되는 계시라면? – moosefetcher
quirks 모드의 IE10은 표준을 준수하지 않습니다. 필수 길이 단위없이 길이 값을 허용 할 수 있습니다 (기본적으로'px'라고 가정). –