최근에 나는 "흔들린" 화면이 CSS 전환으로 인한 것일 수 있습니다. 사실 Chrome 브라우저에서만 발생합니다 (아마도 Safari도 일부보고 한 바 있습니다). 어떻게하면 부드럽게 보이게 할 수 있습니까? 또한 이상한 흰색 블록이 몇 번 나타날 수 있습니다. 전환이 적용되기 전에 발생하지 않았으며 페이지가 새로로드 된 후 이제 한 두 번 발생합니다. 전환의https://vimeo.com/198493320CSS 전환/변형 - Google 크롬 브라우저의 "흔들린"이미지
CSS 코드 : 정확히 무슨 일이 일어나고 있는지 볼 수 있도록 여기에
가 링크를의 사실
.heroEffects .bg {
transform: scale(1);
-webkit-box-shadow: inset 4px 1px 77px 40px rgba(0,0,0,0.78);
-moz-box-shadow: inset 4px 1px 77px 40px rgba(0,0,0,0.78);
box-shadow: inset 4px 1px 77px 40px rgba(0,0,0,0.78);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 2;
-webkit-transition: opacity 1s ease-in-out;
-moz-transition: opacity 1s ease-in-out;
-o-transition: opacity 1s ease-in-out;
transition: opacity 1s ease-in-out;
}
.bgimg {
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
position: absolute;
background-repeat: no-repeat;
background-position: center center;
transform: scale(1);
overflow: hidden;
-webkit-box-shadow: inset 0px 0px 97px 69px rgba(0,0,0,0.85);
-moz-box-shadow: inset 0px 0px 97px 69px rgba(0,0,0,0.85);
box-shadow: inset 0px 0px 97px 69px rgba(0,0,0,0.85);
top: 0;
left: 0;
height: 100%;
width: 100%;
background-image: url("../img/gallery/slonecz.jpg");
animation-name: backgroundchangeFadeInOut;
animation-timing-function: ease-in-out;
animation-iteration-count: infinite;
animation-duration: 10s;
-webkit-animation-name: backgroundchangeFadeInOut;
-webkit-animation-timing-function: ease-in-out;
-webkit-animation-iteration-count: infinite;
-webkit-animation-duration: 15s;
}