2014-04-09 6 views
1

나는이 이미지를 내 웹 페이지에 이미지가이미지가 사라집니다 - CSS

enter image description here

내가 이것에 설정하는 가정되는 이미지 위로 마우스를 가져

enter image description here

이렇게하면 표시되지만 사라질 때 약 2 초 후에 두 번째 이미지가 나타납니다. 이게 바로 나타나게하려면 어떻게해야합니까? 내 인터넷이 느려질 수 있기 때문입니까?

는 사용될 때까지 이미지가로드되지

#right_slide_arrow{ 
    width:150px; 
    height:150px; 
    float:left; 
    margin-top:140px; 
    background:url(../images/right_arrow.png) no-repeat; 
} 
#right_slide_arrow:hover { 
    cursor:pointer; 
    background:url(../images/right_arrow_hover.png) no-repeat; 
} 

답변

4

내 CSS,이다; 기껏해야, 이것은 깜박 거릴 것이다.

image sprite을 사용하는 것이 더 좋습니다.

+2

좋은 답변, 이미지 스프라이트에 대해 더 자세히 설명해 주시겠습니까? –

관련 문제